Messages in this thread | | | Subject | Re: [patch] cpusets, cgroups: disallow attaching kthreadd | From | Mike Galbraith <> | Date | Tue, 11 Oct 2011 04:31:58 +0200 |
| |
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
| |