Re: [PATCH 1/1] kthread: Reduce stack pressure in create_kthreadand kthreadd

From: Ingo Molnar
Date: Fri Jul 18 2008 - 12:47:38 EST



* Mike Travis <travis@xxxxxxx> wrote:

> Subject: [PATCH 1/1] 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.
>
> Based on linux-2.6.tip/master

applied to tip/core/urgent, thanks Mike.

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/