[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <6599ad830809121233l6c58f879l6a483f368fc09aa5@mail.gmail.com>
Date: Fri, 12 Sep 2008 12:33:37 -0700
From: "Paul Menage" <menage@...gle.com>
To: "Greg KH" <greg@...ah.com>
Cc: "Li Zefan" <lizf@...fujitsu.com>,
"Lai Jiangshan" <laijs@...fujitsu.com>,
"Andrew Morton" <akpm@...ux-foundation.org>,
"Linux Kernel Mailing List" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] cgroups: fix probable race with put_css_set[_taskexit] and find_css_set
On Fri, Sep 12, 2008 at 8:58 AM, Greg KH <greg@...ah.com> wrote:
>> If you're opposed to the addition of kref_put_and_write_lock() then
>> yes, I'll replace kref with a custom refcount.
>
> It just seems messy, but if you want to try it, I'll be glad to look at
> the code. Oh wait, was that the patch that you sent out last time?
Yes - that patch replaced kref with a plain refcount. We weren't
really using kref as anything other than an atomic_dec_and_test()
wrapper anyway.
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