public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] x86: Reduce pressure on stack from cpumask usage
@ 2007-11-21  8:02 travis
  2007-11-21  8:02 ` [PATCH 1/2] cpumask: Convert cpumask_of_cpu to static array travis
  2007-11-21  8:02 ` [PATCH 2/2] cpumask: Convert set_cpus_allowed to use ptr for cpumask arg travis
  0 siblings, 2 replies; 3+ messages in thread
From: travis @ 2007-11-21  8:02 UTC (permalink / raw)
  To: Andrew Morton, Andi Kleen, Christoph Lameter
  Cc: mingo, apw, Jack Steiner, linux-mm, linux-kernel


Convert cpumask_of_cpu to use a static percpu data array and
set_cpus_allowed to pass the cpumask_t arg as a pointer.

Conditioned on NR_CPUS > BITS_PER_LONG.

Compiled and tested for i386 and x86_64.  I'd appreciate
feedback on other architectures.

(Note: there are still compile/test errors when NR_CPUS > 256
due to cpu id being 8 bits among other things.)

-- 

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

end of thread, other threads:[~2007-11-21  8:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-21  8:02 [PATCH 0/2] x86: Reduce pressure on stack from cpumask usage travis
2007-11-21  8:02 ` [PATCH 1/2] cpumask: Convert cpumask_of_cpu to static array travis
2007-11-21  8:02 ` [PATCH 2/2] cpumask: Convert set_cpus_allowed to use ptr for cpumask arg travis

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