Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751457AbbD2W0R (ORCPT ); Wed, 29 Apr 2015 18:26:17 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:59233 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751023AbbD2W0P (ORCPT ); Wed, 29 Apr 2015 18:26:15 -0400 Date: Wed, 29 Apr 2015 15:26:13 -0700 From: Andrew Morton To: Chris Metcalf 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 v9 1/3] smpboot: allow excluding cpus from the smpboot threads Message-Id: <20150429152613.1c93dc1387eb4b7af4faa954@linux-foundation.org> In-Reply-To: <1429295838-6328-1-git-send-email-cmetcalf@ezchip.com> References: <20150416152808.GA16270@lerouge> <1429295838-6328-1-git-send-email-cmetcalf@ezchip.com> X-Mailer: Sylpheed 3.4.1 (GTK+ 2.24.23; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1048 Lines: 21 On Fri, 17 Apr 2015 14:37:16 -0400 Chris Metcalf wrote: > This change allows some cores to be excluded from running the > smp_hotplug_thread tasks. The following commit to update > kernel/watchdog.c to use this functionality is the motivating > example, and more information on the motivation is provided there. > > A new smp_hotplug_thread field is introduced, "cpumask", which > is cpumask field managed by the smpboot subsystem that indicates whether > or not the given smp_hotplug_thread should run on that core; the > cpumask is checked when deciding whether to unpark the thread. > > To limit the cpumask to less than cpu_possible, you must call > smpboot_update_cpumask_percpu_thread() after registering. Has Thomas commented on any version of this? t'would be nice. -- 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/