diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2009-01-07 18:08:41 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-01-08 08:31:11 -0800 |
commit | 5771f0a2236df69683e9abea87f35f522c97ff94 (patch) | |
tree | afc960ceac00ab20f2139496e4fa9feeea516467 /security | |
parent | 5a7625df725a486ad600b0036b6111dbd6321c41 (diff) |
cpuset: remove on stack cpumask_t in cpuset_can_attach()
Impact: reduce stack usage
Just use cs->cpus_allowed, and no need to allocate a cpumask_var_t.
Signed-off-by: Li Zefan <lizf@cn.fujistu.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Acked-by: Mike Travis <travis@sgi.com>
Cc: Paul Menage <menage@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions