On Thu, Sep 05, 2013 at 08:07:37PM +0000, 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. > > os_cpus=? highlatency_cpus=? > > > Subject: Restrict kernel spawning of threads to a specified set of cpus. > > Currently the kernel by default allows kernel threads to be spawned on > any cpu. This is a problem for low latency applications that want to > avoid Os actions on specific processors. > > Add a kernel option that restrict kthread and usermode spawning > to a specific set of processors. Also sets the affinities of > init by default to the restricted set since we certainly do not > want userspace daemons etc to be started there either. > > Signed-off-by: Christoph Lameter <c...@linux.com>
Why not do this from userspace instead? Thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/