Re: [PATCH 0/8] cpumask: Replace/optimize cpumask_of_cpu &cpumask_t operations

From: Ingo Molnar
Date: Fri Jul 18 2008 - 16:05:37 EST

* Mike Travis <travis@xxxxxxx> wrote:

> * Patch 1 replaces the dangerous lvalue version of cpumask_of_cpu
> with new cpumask_of_cpu_ptr macros. These are patterned after the
> node_to_cpumask_ptr macros.
> * Patches 2..6 optimizes various places where a pointer to the cpumask_of_cpu
> value will result in reducing stack pressure.
> * Patch 7 provides a generic set of CPUMASK_ALLOC macros patterned after
> the SCHED_CPUMASK_ALLOC macros. This is used where multiple cpumask_t
> variables are declared on the stack to reduce the amount of stack space
> required.
> * Patch 8 uses the CPUMASK_ALLOC macros in the centrino_target() function.

applied to tip/cpus4096 for more testing, thanks Mike.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at