diff options
author | Mike Travis <travis@sgi.com> | 2008-07-08 15:55:48 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-18 18:46:58 +0200 |
commit | 8df185a95c9b84fc0c3c02224e64fdc5b83bae34 (patch) | |
tree | dd53306fbec26ca7da24494b2844622363dc8bb3 /lib/idr.c | |
parent | 8b95d9172be7146c87e7a998310ce2919c851adc (diff) |
kthread: reduce stack pressure in create_kthread and kthreadd
* Replace:
set_cpus_allowed(..., CPU_MASK_ALL)
with:
set_cpus_allowed_ptr(..., CPU_MASK_ALL_PTR)
to remove excessive stack requirements when NR_CPUS=4096.
Signed-off-by: Mike Travis <travis@sgi.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'lib/idr.c')
0 files changed, 0 insertions, 0 deletions