kthread: reduce stack pressure in create_kthread and kthreadd
authorMike Travis <travis@sgi.com>
Tue, 8 Jul 2008 22:55:48 +0000 (15:55 -0700)
committerIngo Molnar <mingo@elte.hu>
Fri, 18 Jul 2008 16:46:58 +0000 (18:46 +0200)
  * 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>

No differences found