lkml.org 
[lkml]   [2011]   [Oct]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [patch] cpusets, cgroups: disallow attaching kthreadd
From
Date
On Mon, 2011-10-10 at 09:43 -0700, Tejun Heo wrote:

> Yes, I think we need something like this. wq workers were using
> PF_THREAD_BOUND to prevent diddling from userland which made some
> unhappy. Maybe we need a flag to properly indicate "don't diddle with
> this thread from userland"? But, then, mainline kernel wouldn't need
> the current PF_THREAD_BOUND at all. Peter, Steven, what do you think?

Yeah, I was also thinking that there should really be a generic "I'm not
yours to play with" flag. This just closes two cases I've run into
regarding kthreadd, there may be others where the user needs to know
implementation details to not shoot self in foot.

-Mike



\
 
 \ /
  Last update: 2011-10-11 04:35    [W:1.346 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site