Re: [PATCH] cgroups: fix probable race with put_css_set[_taskexit] and find_css_set

From: Paul Menage
Date: Fri Sep 12 2008 - 15:33:59 EST


On Fri, Sep 12, 2008 at 8:58 AM, Greg KH <greg@xxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/