| commit | b53e921ba1cff8453dc9a87a84052fa12d5b30bd | [log] [tgz] |
|---|---|---|
| author | Mike Travis <travis@sgi.com> | Fri Apr 04 18:11:08 2008 -0700 |
| committer | Ingo Molnar <mingo@elte.hu> | Sat Apr 19 19:44:59 2008 +0200 |
| tree | 021cadb6c58543ecccd95b55fc319f249ebf176e | |
| parent | f9a86fcbbb1e5542eabf45c9144ac4b6330861a4 [diff] |
generic: reduce stack pressure in sched_affinity
* Modify sched_affinity functions to pass cpumask_t variables by reference
instead of by value.
* Use new set_cpus_allowed_ptr function.
Depends on:
[sched-devel]: sched: add new set_cpus_allowed_ptr function
Cc: Paul Jackson <pj@sgi.com>
Cc: Cliff Wickman <cpw@sgi.com>
Signed-off-by: Mike Travis <travis@sgi.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>