lkml.org 
[lkml]   [2012]   [Apr]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] cgroups: disallow attaching kthreadd
On Wed, 4 Apr 2012, Tejun Heo wrote:

> I don't see much problem with the proposed solution and am gonna take
> it unless there are pretty good reasons not to.
>

The only cgroup that cannot allow kthreadd is cpusets and that's
illustrated by Mike's changelog. Restricting it for all cgroups is
completely unnecessary, as I've already said, and is the entire reason we
have ->can_attach() functions for each cgroup.

Also see Paul Menage's suggestion for only isolating this fix to cpusets
as well at
http://lkml.indiana.edu/hypermail/linux/kernel/1110.2/01280.html.

Thanks.


\
 
 \ /
  Last update: 2012-04-05 01:17    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site