commit | 8df185a95c9b84fc0c3c02224e64fdc5b83bae34 | [log] [tgz] |
---|---|---|
author | Mike Travis <travis@sgi.com> | Tue Jul 08 15:55:48 2008 -0700 |
committer | Ingo Molnar <mingo@elte.hu> | Fri Jul 18 18:46:58 2008 +0200 |
tree | dd53306fbec26ca7da24494b2844622363dc8bb3 | |
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>