From: Mike Travis Date: Tue, 8 Jul 2008 22:55:48 +0000 (-0700) Subject: kthread: reduce stack pressure in create_kthread and kthreadd X-Git-Tag: v2.6.27-rc1~514^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8df185a95c9b84fc0c3c02224e64fdc5b83bae34;p=pandora-kernel.git 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 Cc: Andrew Morton Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed