Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754215AbbDMPsh (ORCPT ); Mon, 13 Apr 2015 11:48:37 -0400 Received: from mail-am1on0095.outbound.protection.outlook.com ([157.56.112.95]:49376 "EHLO emea01-am1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754025AbbDMPse (ORCPT ); Mon, 13 Apr 2015 11:48:34 -0400 Authentication-Results: infradead.org; dkim=none (message not signed) header.d=none; Message-ID: <552BE540.3040108@ezchip.com> Date: Mon, 13 Apr 2015 11:48:16 -0400 From: Chris Metcalf User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Andrew Morton CC: Frederic Weisbecker , Don Zickus , Ingo Molnar , Andrew Jones , chai wen , Ulrich Obergfell , "Fabian Frederick" , Aaron Tomlin , Ben Zhang , Christoph Lameter , Gilad Ben-Yossef , Steven Rostedt , , Jonathan Corbet , , Thomas Gleixner , "Peter Zijlstra" Subject: Re: [PATCH v7 1/3] smpboot: allow excluding cpus from the smpboot threads References: <20150410015842.GG18314@lerouge> <1428698900-13358-1-git-send-email-cmetcalf@ezchip.com> <20150410141141.5fda4083dbaa874fd2690658@linux-foundation.org> In-Reply-To: <20150410141141.5fda4083dbaa874fd2690658@linux-foundation.org> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [12.216.194.146] X-ClientProxiedBy: BN3PR09CA0024.namprd09.prod.outlook.com (25.160.111.162) To DB5PR02MB0775.eurprd02.prod.outlook.com (25.161.243.146) X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DB5PR02MB0775;UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DB5PR02MB0744; X-Microsoft-Antispam-PRVS: X-Forefront-Antispam-Report: BMV:1;SFV:NSPM;SFS:(10009020)(6049001)(6009001)(479174004)(54534003)(51704005)(24454002)(377454003)(36756003)(54356999)(76176999)(87266999)(23746002)(65816999)(62966003)(77156002)(86362001)(92566002)(46102003)(64126003)(66066001)(47776003)(50986999)(19580405001)(2950100001)(80316001)(19580395003)(33656002)(110136001)(15975445007)(77096005)(122386002)(50466002)(83506001)(42186005)(87976001)(4001350100001)(59896002)(18886065003);DIR:OUT;SFP:1101;SCL:1;SRVR:DB5PR02MB0775;H:[10.7.0.41];FPR:;SPF:None;MLV:sfv;LANG:en; X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(5005006)(5002010);SRVR:DB5PR02MB0775;BCL:0;PCL:0;RULEID:;SRVR:DB5PR02MB0775; X-Forefront-PRVS: 0545EFAC9A X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Apr 2015 15:48:28.2728 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR02MB0775 X-OriginatorOrg: ezchip.com Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1729 Lines: 43 On 04/10/2015 05:11 PM, Andrew Morton wrote: > On Fri, 10 Apr 2015 16:48:18 -0400 Chris Metcalf wrote: > >> This change allows some cores to be excluded from running the >> smp_hotplug_thread tasks. The motivating example for this is >> the watchdog threads, which by default we don't want to run >> on any enabled nohz_full cores. > Why not? Thanks for the feedback. It's easy to assume everyone knows everything about what's being done in the kernel :-) I'll add some more descriptive language around what the point of nohz_full is, and why the watchdog interferes with it, in v8. > > I can guess, but I'd rather not guess. Please fully explain the > end-user value of this change. Providing a benefit to users is the > whole point of the patchset, but the above assertion is the only > description we have. > > This info should be in Documentation/lockup-watchdogs.txt and/or > Documentation/sysctl/kernel.txt as well as the changelogs, so users > have an answer to "why the heck should I enable this". > > Please also describe the downside of the change. I assume this is > "lockups will go undetected on some CPUs"? Let's expand on this so we > can understand where the best tradeoff point lies. > > If people are experiencing then they can > disable the watchdog altogether. What value is there in this partial > disabling? Why is it worth doing this? > -- 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/