All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/12] cpumask handling scalability improvements
@ 2011-10-20 13:36 Jan Beulich
  2011-10-20 15:09 ` Keir Fraser
  2011-10-21  7:08 ` Keir Fraser
  0 siblings, 2 replies; 15+ messages in thread
From: Jan Beulich @ 2011-10-20 13:36 UTC (permalink / raw)
  To: xen-devel@lists.xensource.com

This patch set makes some first steps towards eliminating the old cpumask
accessors, replacing them by such that don't require the full NR_CPUS
bits to be allocated (which obviously can be pretty wasteful when
NR_CPUS is high, but the actual number is low or moderate).

01: introduce and use nr_cpu_ids and nr_cpumask_bits
02: eliminate cpumask accessors referencing NR_CPUS
03: eliminate direct assignments of CPU masks
04: x86: allocate IRQ actions' cpu_eoi_map dynamically
05: allocate CPU sibling and core maps dynamically
06: allow efficient allocation of multiple CPU masks at once

One reason I put the following ones together was to reduce the
differences between the disassembly of hypervisors built for 4095
and 2047 CPUs, which I looked at to determine the places where
cpumask_t variables get copied without using cpumask_copy() (a
job where grep is of no help). Hence consider these patch optional,
but recommended.

07: cpufreq: allocate CPU masks dynamically
08: x86/p2m: allocate CPU masks dynamically
09: cpupools: allocate CPU masks dynamically
10: credit: allocate CPU masks dynamically
11: x86/hpet: allocate CPU masks dynamically
12: cpumask <=> xenctl_cpumap: allocate CPU masks and byte maps dynamically

Signed-off-by: Jan Beulich <jbeulich@suse.com>

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

end of thread, other threads:[~2011-10-21  8:23 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-20 13:36 [PATCH 00/12] cpumask handling scalability improvements Jan Beulich
2011-10-20 15:09 ` Keir Fraser
2011-10-20 15:19   ` Jan Beulich
2011-10-20 15:25     ` Jan Beulich
2011-10-20 15:49     ` Andrew Cooper
2011-10-20 15:57       ` Jan Beulich
2011-10-20 16:04     ` Keir Fraser
2011-10-21  7:10       ` Jan Beulich
2011-10-21  8:00         ` Keir Fraser
2011-10-21  8:23           ` Jan Beulich
2011-10-20 16:06     ` Keir Fraser
2011-10-21  7:01       ` Jan Beulich
2011-10-21  7:08 ` Keir Fraser
2011-10-21  7:14   ` Jan Beulich
2011-10-21  7:49   ` Jan Beulich

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.