]> git.baikalelectronics.ru Git - kernel.git/commit
generic: reduce stack pressure in sched_affinity
authorMike Travis <travis@sgi.com>
Sat, 5 Apr 2008 01:11:08 +0000 (18:11 -0700)
committerIngo Molnar <mingo@elte.hu>
Sat, 19 Apr 2008 17:44:59 +0000 (19:44 +0200)
commitd6146578092f50adf6d93d168498821cc9c78ffe
tree021cadb6c58543ecccd95b55fc319f249ebf176e
parentf8c4c11f865c184000809ba9b78e94bc3dcc4c74
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>
arch/x86/kernel/cpu/mcheck/mce_amd_64.c
include/linux/sched.h
kernel/compat.c
kernel/rcupreempt.c
kernel/sched.c