diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2009-01-08 03:08:42 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-01-08 17:31:11 +0100 |
commit | 2341d1b6598c7146d64a5050b53a72a5a819617f (patch) | |
tree | 1e278566d5fea4d2c02826b9ac0713ccd146fd92 /Documentation/i2c | |
parent | cpuset: remove on stack cpumask_t in cpuset_can_attach() (diff) | |
download | linux-2341d1b6598c7146d64a5050b53a72a5a819617f.tar.xz linux-2341d1b6598c7146d64a5050b53a72a5a819617f.zip |
cpuset: convert cpuset_attach() to use cpumask_var_t
Impact: reduce stack usage
Allocate a global cpumask_var_t at boot, and use it in cpuset_attach(), so
we won't fail cpuset_attach().
Signed-off-by: Li Zefan <lizf@cn.fujitsu.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 'Documentation/i2c')
0 files changed, 0 insertions, 0 deletions