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    [W:1.167 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site