|| ||Mike Travis <firstname.lastname@example.org>|
|| ||Ingo Molnar <email@example.com>, Rusty Russell <firstname.lastname@example.org>|
|| ||[PATCH 00/31] cpumask: Provide new cpumask API|
|| ||Mon, 29 Sep 2008 11:02:50 -0700|
|| ||Linus Torvalds <email@example.com>,
Andrew Morton <firstname.lastname@example.org>,
David Miller <email@example.com>,
Yinghai Lu <firstname.lastname@example.org>,
Thomas Gleixner <email@example.com>,
Jack Steiner <firstname.lastname@example.org>, email@example.com|
Ingo Molnar wrote:
> could you please send whatever .c changes you have already, so that we
> can have a look at how the end result will look like? Doesnt have to
> build, i'm just curious about how it looks like in practice,
Here's one(*) proposal for a new cpumask interface API in a patch
that's compilable. Obviously with a change of this magnitude, a large
number of files are affected. I tried to group them into functional
changes, but there are a lot of "clean up" types of patches, so these
are grouped in the second half by sections. Hopefully this minimizes
the interdependencies between patches.
[* - Rusty has an alternative approach that he'll be submitting shortly.]
The patches in this patchset are:
* Doc files and basic "cleanup" changes.
* Base changes to cpumask.h and helper files.
* Minimal changes to let init/main.c compile cleanly.
* Mechanical changes, mostly automated.
Fix cpumask_of_cpu refs
Change first_cpu/next_cpu to cpus_first/cpus_next
* Sectional changes, to agree with API changes:
* Allocation of temporary onstack cpumask variables.
(To be supplied. See cpumask_alloc.h for prelim info.)
* Changes to non-x86 architecture files.
(To be supplied.)
These changes should work in the current code. The flag to turn on the
new code is "CONFIG_CPUMASKS_OFFSTACK". This is not yet turned on so
this code should be completely compatible with current code, only laying
down the groundwork for when cpumasks will be "offstack". This should
allow testing to insure that the basic interface is functionally complete.
[Note: testing not yet started.]