Re: [RFC PATCH 12/12] housekeeping: Reimplement isolcpus on housekeeping

From: Christopher Lameter
Date: Mon Aug 28 2017 - 12:53:53 EST


On Mon, 28 Aug 2017, Peter Zijlstra wrote:

> Well, ideally something like this would start the system with all the
> 'crap' threads in !root cgroup. But that means cgroupfs needs to be
> populated with at least two directories on boot. And current cgroup
> cruft doesn't expect that.

Maybe an affinity mask for bootup will take care of that? I once wrote an
init wrapper that restricted the number of cpus for the threads that init
spawns but we can probably do much better.