lkml.org 
[lkml]   [2012]   [Apr]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [patch 0/2] cpusets, cpu_cgroup: disallow attaching kthreadd
From
Date
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.


\
 
 \ /
  Last update: 2012-04-14 13:37    [W:0.072 / U:0.484 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site