[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6599ad830704050110w65c2312br3c8d070da5d6dfa5@mail.gmail.com>
Date: Thu, 5 Apr 2007 01:10:21 -0700
From: "Paul Menage" <menage@...gle.com>
To: vatsa@...ibm.com
Cc: "Paul Jackson" <pj@....com>, akpm@...ux-foundation.org,
linux-kernel@...r.kernel.org, "Balbir Singh" <balbir@...ibm.com>
Subject: Re: [PATCH] Fix race between attach_task and cpuset_exit
On 4/5/07, Srivatsa Vaddagiri <vatsa@...ibm.com> wrote:
>
> Hmm yes ..I am surprised we arent doing a synhronize_rcu in
> cpuset_rmdir() before dropping the dentry. Did you want to send a patch
> for that?
Currently cpuset_exit() isn't in a rcu section so it wouldn't help.
But this ceases to be a problem if we don't leave the refcount
dropping in cpuset_exit() where it is currently - it doesn't drop the
refcount until it's holding manage_mutex, at which point it's safe to
hold a cpuset reference with a refcount of 0.
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