Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753648AbbGJXG1 (ORCPT ); Fri, 10 Jul 2015 19:06:27 -0400 Received: from mail-am1on0087.outbound.protection.outlook.com ([157.56.112.87]:22592 "EHLO emea01-am1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751842AbbGJXGT (ORCPT ); Fri, 10 Jul 2015 19:06:19 -0400 Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none; Subject: Re: [PATCH v2] nohz: prevent tilegx network driver interrupts To: Josh Cartwright References: <55A0175E.2010200@ezchip.com> <1436557045-5392-1-git-send-email-cmetcalf@ezchip.com> <20150710224500.GA25028@jcartwri.amer.corp.natinst.com> CC: Frederic Weisbecker , , From: Chris Metcalf Message-ID: <55A04FEF.2000204@ezchip.com> Date: Fri, 10 Jul 2015 19:06:23 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 MIME-Version: 1.0 In-Reply-To: <20150710224500.GA25028@jcartwri.amer.corp.natinst.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [173.76.21.154] X-ClientProxiedBy: BLUPR11CA0074.namprd11.prod.outlook.com (10.141.30.42) To AM2PR02MB0769.eurprd02.prod.outlook.com (25.163.146.154) X-Microsoft-Exchange-Diagnostics: 1;AM2PR02MB0769;2:/4TEYveEjNJeAY7/xVKAZC/lH3StApxebFmdfCttP8v06OJVRne60Vew9EYeSVB0;3:/pgQ6jKQ9PcWZ5z7J0DHRhXPplSXN//KPtWWf2x65WyQcL9ZVyBWpACG17CyGpToY7mObPtl4YwnuEI5SEWTqGBOCH/1T5Z7Fx8fFd+oGoC3+aomPXPItLyVuCsad0a0k7hvODbx301dnYz8wIoLzg==;25:mtjuZadKQl2yb1QPmIwOwEQV6gprJU74IyC36FjoTbNaYfaSlKBh60K0wxF07/YnbnUq6cNDWiqmWLz2N+BqNXkWySEz4dIKEtdCNG6yurOr+UWfOf8TPd1g3fK86nocDvNSpSGbdsHqBLv0Pv2wAV+QPrRZQjnTO6N64XWwgWpjF1UEtViwxDH/YHG01ybKerQwvLhbdIAlk493tokDmQEUXfoUgZ7/I8fL5phYjkAtyGPZ4YvpSgzuWKuxXiLD0rYdoVgPQgFxphc1TcbHAA==;20:6GPvJyRo8OBV0IGpeY8hYHlGFPPNIzYIieHEnhltR5dfAj79z0B42WyzEUDlD6a5+LdEfnFtTHKM9wqdkwqrdOG+wkmrbQ5xKHHZ9YJssyQRbfzFFid85gH/KTL9Fpng55TOHu6g208e2HKwbuXelszpjmY11bzvdU9GmKC7ff0= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:AM2PR02MB0769; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(5005006)(3002001);SRVR:AM2PR02MB0769;BCL:0;PCL:0;RULEID:;SRVR:AM2PR02MB0769; X-Microsoft-Exchange-Diagnostics: 1;AM2PR02MB0769;4:jZKUp7CKVgn2KMi26Xtf7eP2ZUm/nxyESo9xecA1vn9W5T2gG0I+c3d4jWtn8TcSWVtB7AAq2Ylv2IL1VyXmFo2AlMvgB6yiljGmoSzgFQR20z3HKdtZE1iGrlKw0GD0x1U6O1vSF2a39ursrAERna9pDaET5dE1S01f5AGIyyxWQE9ZsqoN7itN3lCoNl/pB653ooLoBKHO+81ZnKLYO8sYeMkgKkGE+JK8p01H7UAfWMOu5+QByEbJbc/LsomD9VxFLiZMm//V6KvpQlfuhhnsDuAlX6vPYjohO47LxlI= X-Forefront-PRVS: 06339BAE63 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(6009001)(6049001)(377454003)(24454002)(479174004)(189998001)(54356999)(77096005)(2950100001)(4001350100001)(87976001)(15975445007)(110136002)(5001960100002)(92566002)(36756003)(46102003)(65806001)(77156002)(122386002)(86362001)(62966003)(66066001)(33656002)(64126003)(80316001)(23746002)(83506001)(40100003)(59896002)(76176999)(50986999)(87266999)(50466002)(42186005)(47776003)(65816999)(19580395003)(117156001)(18886065003);DIR:OUT;SFP:1101;SCL:1;SRVR:AM2PR02MB0769;H:[192.168.1.157];FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1;AM2PR02MB0769;23:qUvWE0DLVghNiss4Ke9BBekHZvHJ67Xg6vYOk?= =?Windows-1252?Q?iDogE6ABFV6qMAZ2lzmnrNEYOUfFLu5cBs7jlxu35chMQKzdnLRLWSe7?= =?Windows-1252?Q?mNLweFSg8O/eKTBBMckcQpnltI2Tx4PQ+9+/Kq2txa8GG1NgrLn+e4ko?= =?Windows-1252?Q?bD6/DI0eQvJ6yBSh8AAlqOjLoHbBAyILJf1m2ozGgBNxSEpZ8vZTYScq?= =?Windows-1252?Q?zLa7UKz4ATr0kUw81rhXcbVlhC+CmdnfBqL2qeppwOp+rgeGpMtC13zx?= =?Windows-1252?Q?A65nWCb290ZUQQP3UhFIw2eMVJoodQtnNxnvG3jT6KIGaSN1kJaT2OAy?= =?Windows-1252?Q?XdaqENC4XJLNfPQ32bArUXEtdB+k8DQjdpaoQjhFNm27tVOG+A9f9Dtu?= =?Windows-1252?Q?HSsOQSD++gA/DoNrtf3zC74Kskrs/rbjqLFy+tBI82LBxk405fay7lIv?= =?Windows-1252?Q?r0q+cKPJBOKmAsrdvoMaKOpnZhpAevRdEOeC6WWXt2k0J6FXVayqPXZe?= =?Windows-1252?Q?IPE5UB6xWPVxRkgpDFH4qedYONHp3CY4+Wk/4L7MUAUWmfn1a69x+XNa?= =?Windows-1252?Q?PN8YHaAZOLhuylCwlzYVmL8Gbs6cWLjmScnuQfZ2Z1efmaJhUWgqoWMS?= =?Windows-1252?Q?qRJrw+uZQu+k8/nnsJWKwo2zQ1TCrttKt91ruv/q8uLECm2wgsSjIR4W?= =?Windows-1252?Q?HV0Qm1+bkNv9EMzSk2hJUue/2OnJXcXX2Q2Um6vrjbwZTAqWmnYm8GaL?= =?Windows-1252?Q?nvUitWWUQzMoo+S717DroTArfCThfgEDwAOH+97PCjNXJ2FlII0ZolyT?= =?Windows-1252?Q?jmxb8sonorF9wjlk2ItHbZY/cLThwGP2Pp3UGVZ56ARMso01DQA/Zv1C?= =?Windows-1252?Q?FreuHzdmHyfm+AxFgdaShtkN6poAL9QHk7wMFOtM03QoMJG0vE81VI6k?= =?Windows-1252?Q?YusGsTumgv7uB6PkAIJzSMu12F/ph215nQ4rt+cqtsrdYiLzhxKx32eC?= =?Windows-1252?Q?6A4+CBKd0RGDyY/OsQ2ducUc0Rs+0c1z9tsfRcOawzo5HN7Oiwb7ddqz?= =?Windows-1252?Q?vV5HudhFoH697XxRx0MENI53TEr/R3gbfpErPGKDp8x4J2+9zVNQGhuK?= =?Windows-1252?Q?Y79lfoQtEftrMtTGo2XHGM=3D?= X-Microsoft-Exchange-Diagnostics: 1;AM2PR02MB0769;5:9BZfdoOslcTZRJyAFirNOEG9SnG66otUdOCr2SNnUtRdCIpoRgZ5EJ5r1ZW2oUp8sYNh8s5Orgt2bMb5EAvxw0fwvgI4rMUqhXw5nKVc/sBQKmXHIoMGOhDdlvgb93TGyIexWv9bc08NyPrzvmc5MA==;24:1/q7CXLnCnqpu67TYo11XHBIcQ/wkEmarTW5GPcMvJzJXDigxGtSnNnF2rrjmVw3RL4gXavJfPKYALDRFCfo8TWZFnX/d67AJCTTe4Sfnx4=;20:m+bjsCvq3SRBw4XcYYRUXv3NcFmQrdM29Rgko87LJIVU8DA1b36WmiN2hpcevziCkKxcIfc6+WqAy+bYun6UeA== SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: ezchip.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jul 2015 23:06:16.3167 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM2PR02MB0769 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 811 Lines: 24 On 7/10/2015 6:45 PM, Josh Cartwright wrote: >> +static inline const struct cpumask *housekeeping_cpumask(void) >> >+{ >> >+#ifdef CONFIG_NO_HZ_FULL >> >+ if (tick_nohz_full_enabled()) >> >+ return housekeeping_mask; >> >+#endif > Just a small comment: > > We can take these checks out from under a #ifdef CONFIG_NO_HZ_FULL > check, given that are stubbed tick_nohz_full_enabled() defined above. True for the "if" clause, but the "housekeeping_mask" variable is only defined under CONFIG_NO_HZ_FULL. -- Chris Metcalf, EZChip Semiconductor http://www.ezchip.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/