[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1318300318.6329.6.camel@marge.simson.net>
Date: Tue, 11 Oct 2011 04:31:58 +0200
From: Mike Galbraith <efault@....de>
To: Tejun Heo <htejun@...il.com>
Cc: LKML <linux-kernel@...r.kernel.org>,
Li Zefan <lizf@...fujitsu.com>,
Paul Menage <paul@...lmenage.org>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
David Rientjes <rientjes@...gle.com>,
Thomas Gleixner <tglx@...utronix.de>,
Steven Rostedt <rostedt@...dmis.org>
Subject: Re: [patch] cpusets, cgroups: disallow attaching kthreadd
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists