Re: [RFC] Restrict kernel spawning of threads to a specified set ofcpus.

From: Christoph Lameter
Date: Tue Sep 10 2013 - 17:17:09 EST


On Tue, 10 Sep 2013, Rob Landley wrote:

> On 09/05/2013 03:07:37 PM, Christoph Lameter wrote:
> > I am not sure how to call this kernel option but we need something like
> > that. I see drivers and the kernel spawning processes on the nohz cores.
> > The name kthread is not really catching the purpose.
>
> Can't you just use the CPU affinity of PID 1 for this? Since it's a process
> that's always there and already has a mask and all. No need for a new
> interface...

How would you set the affinity of pid 1 before init starts spawning
threads?

--
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/