On Fri, Sep 12, 2008 at 8:58 AM, Greg KH <greg@kroah.com> wrote:
quoted text >> 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
--
unsubscribe notice To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Messages in current thread:
Re: [PATCH] cgroups: fix probable race with put_css_set[_t ... , Paul Menage , (Fri Sep 12, 12:33 pm)