summaryrefslogtreecommitdiffstats
path: root/include/linux/console_struct.h
diff options
context:
space:
mode:
authorLi Zefan <lizf@cn.fujitsu.com>2009-01-07 18:08:43 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2009-01-08 08:31:11 -0800
commit645fcc9d2f6946f97a41c8d00edee38f8a6f0060 (patch)
tree1d7ad63c9e1bace8f0ccac8814be04af92441ebf /include/linux/console_struct.h
parent2341d1b6598c7146d64a5050b53a72a5a819617f (diff)
downloadlinux-645fcc9d2f6946f97a41c8d00edee38f8a6f0060.tar.gz
linux-645fcc9d2f6946f97a41c8d00edee38f8a6f0060.tar.bz2
linux-645fcc9d2f6946f97a41c8d00edee38f8a6f0060.zip
cpuset: don't allocate trial cpuset on stack
Impact: cleanups, reduce stack usage This patch prepares for the next patch. When we convert cpuset.cpus_allowed to cpumask_var_t, (trialcs = *cs) no longer works. Another result of this patch is reducing stack usage of trialcs. sizeof(*cs) can be as large as 148 bytes on x86_64, so it's really not good to have it on stack. 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 'include/linux/console_struct.h')
0 files changed, 0 insertions, 0 deletions