Messages in this thread | | | Subject | Re: [patch 0/2] cpusets, cpu_cgroup: disallow attaching kthreadd | From | Peter Zijlstra <> | Date | Sat, 14 Apr 2012 13:35:22 +0200 |
| |
On Mon, 2012-04-09 at 17:52 -0700, David Rientjes wrote: > On Sun, 8 Apr 2012, Hiroyuki Kamezawa wrote: > > > I'm sorry if I didn't read e-mails while a trip....let me understand... > > > > - Tejun at el, tries to disallow to move kthreadd into cgroups other than root. > > - You wants to account kthreadd's activity under memg at el. > > > > memcg isn't the only use case, you can also use it for cpuacct and any > other future cgroup that wants to do so.
fwiw, it would be ever so nice to get rid of cpuacct -- its a horrendous piece of crap.
Anyway, memcg is more than an bean counter, it can do actual enforcement, so by allowing it outside the root group you allow it into an enforced group, making it so that you cannot spawn more threads at some point, which might mean making your kernel not work properly.
Just fix memcg already to account whatever you want for the root group.
| |