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

> That question made perfect sense to me. Putting a global resource in
> any bin of any sort makes little if any sense.
>

This has nothing to do with global resources, it has to do with
PF_THREAD_BOUND since those threads cannot move amongst these cgroups.

For cgroups that do not have anything to do with cpu affinity,
PF_THREAD_BOUND means nothing to their attachment rules. This patch is
addressing kthreadd since it, as the changelog says, has the ability to
spawn threads that become PF_THREAD_BOUND. By logic, we then can't allow
kthreadd to be attached to cgroups where PF_THREAD_BOUND matters either.

I know we've been through several iterations on this over the past several
months and the patch getting dropped a couple times along the way, but I
really do appreciate your time and effort spent in developing this fix,
it's very helpful.


\
 
 \ /
  Last update: 2012-04-05 10:03    [W:0.117 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site