public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] new cpumask for hotpluggable CPUs
@ 2011-08-10 20:03 Mike Turquette
  2011-08-10 20:03 ` [PATCH v2 1/2] cpumask: introduce " Mike Turquette
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Mike Turquette @ 2011-08-10 20:03 UTC (permalink / raw)
  To: linux-kernel; +Cc: linux-pm, linaro-dev, patches, gregkh, Mike Turquette

This patch series introduces a new cpumask which tracks CPUs that
support hotplugging.  The purpose of this patch series is to provide a
simple method for kernel code to know which CPUs can be hotplugged and
which ones cannot.  Potential users of this code might be a thermal
mitigation technique which uses hotplug to lower temperature, or a power
capping mechanism which uses hotplug to lower power consumption.

All the of usual cpumask helper functions are created for this new mask.
The second patch in this series simply sets the bit for elligible CPUs
while they are being registered.  The cpumask itself is static after
boot and should not change (like the possbile mask).

Mike Turquette (2):
  cpumask: introduce cpumask for hotpluggable CPUs
  cpu: update cpu_hotpluggable_mask in register_cpu

 drivers/base/cpu.c      |    4 +++-
 include/linux/cpumask.h |   27 ++++++++++++++++++++++-----
 kernel/cpu.c            |   18 ++++++++++++++++++
 3 files changed, 43 insertions(+), 6 deletions(-)

-- 
1.7.4.1


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2011-08-11 20:03 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-10 20:03 [PATCH v2 0/2] new cpumask for hotpluggable CPUs Mike Turquette
2011-08-10 20:03 ` [PATCH v2 1/2] cpumask: introduce " Mike Turquette
2011-08-10 20:53   ` Daniel Lezcano
2011-08-11  6:06   ` Amit Kucheria
2011-08-11 18:39     ` Turquette, Mike
2011-08-10 20:03 ` [PATCH v2 2/2] cpu: update cpu_hotpluggable_mask in register_cpu Mike Turquette
2011-08-10 20:54   ` Daniel Lezcano
2011-08-11 18:30 ` [PATCH v2 0/2] new cpumask for hotpluggable CPUs Peter Zijlstra
2011-08-11 19:25   ` Turquette, Mike
2011-08-11 19:38     ` Peter Zijlstra
2011-08-11 19:54 ` [PATCH v3 1/2] cpumask: introduce " Mike Turquette
2011-08-11 19:54   ` [PATCH v3 2/2] cpu: update cpu_hotpluggable_mask in register_cpu Mike Turquette
2011-08-11 20:02   ` [PATCH v3 1/2] cpumask: introduce cpumask for hotpluggable CPUs Peter Zijlstra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox