lkml.org 
[lkml]   [2008]   [Dec]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] sched: fix another race when reading /proc/sched_debug
Paul Menage wrote:
> I sent out some patches last week (search for hierarchy_mutex) that would
> mean that you'd only need to take a subsystem-local lock to keep a cgroup
> alive. People seemed to like them so I'll tweak them based on feedback and
> send them on to Andrew.
>

Unfortunately, AFAICS the proposed hierarchy_mutex can't solve this bug. :(

> Paul
>
> On Dec 14, 2008 4:48 AM, "Peter Zijlstra" <a.p.zijlstra@chello.nl> wrote:
>
> On Sun, 2008-12-14 at 10:54 +0800, Li Zefan wrote: > > i merged it up in
> tip/master, could you pleas...
> Can't we detect a dead task-group and skip those instead of adding this
> global lock?
>
>> Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> > --- > kernel/sched_fair.c
> | 6 ++++++ > kerne...
>



\
 
 \ /
  Last update: 2008-12-15 02:43    [W:0.118 / U:0.488 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site