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

From: Rob Landley
Date: Tue Sep 10 2013 - 13:34:01 EST


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

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