[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <6599ad830812190606n6c6cc70ew320b7722785d9345@mail.gmail.com>
Date: Fri, 19 Dec 2008 06:06:46 -0800
From: Paul Menage <menage@...gle.com>
To: balbir@...ux.vnet.ibm.com, Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Li Zefan <lizf@...fujitsu.com>, Ingo Molnar <mingo@...e.hu>,
Paul Menage <menage@...gle.com>,
Andrew Morton <akpm@...ux-foundation.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] sched: fix another race when reading /proc/sched_debug
On Thu, Dec 18, 2008 at 8:37 PM, Balbir Singh <balbir@...ux.vnet.ibm.com> wrote:
>>
>> Can't we detect a dead task-group and skip those instead of adding this
>> global lock?
>>
>
> Now we can, there is a css_is_removed() function.
>
With the patch that makes cgroup_path() RCU-safe, you shouldn't need
to do any additional skipping or locking.
Paul
--
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