summaryrefslogtreecommitdiffstats
path: root/mm/slob.c
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2008-11-25 02:35:11 +1030
committerIngo Molnar <mingo@elte.hu>2008-11-24 17:51:45 +0100
commitf17c860760927c2a8e41a021eab3317e4415e962 (patch)
tree6b414506bd3822f0b3475d454a10f16025a5415c /mm/slob.c
parenta0e902452da16b79d7c9230630ed8a595d14fa85 (diff)
downloadlinux-f17c860760927c2a8e41a021eab3317e4415e962.tar.gz
linux-f17c860760927c2a8e41a021eab3317e4415e962.tar.bz2
linux-f17c860760927c2a8e41a021eab3317e4415e962.zip
sched: convert sys_sched_getaffinity() to cpumask_var_t.
Impact: stack usage reduction Dynamically allocating cpumasks (when CONFIG_CPUMASK_OFFSTACK) saves space in the stack. cpumask_var_t is just a struct cpumask for !CONFIG_CPUMASK_OFFSTACK. Some jiggling here to make sure we always exit at the bottom (so we hit the free_cpumask_var there). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'mm/slob.c')
0 files changed, 0 insertions, 0 deletions