lkml.org 
[lkml]   [2004]   [Jul]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [RFC] Refcounting of objects part of a lockfree collection
    On Wed, Jul 14, 2004 at 10:08:00AM -0700, Greg KH wrote:
    > > ...
    > > Close, but not the same. I just had a quick look at krefs.
    > > Actually, this refrerence count infrastructure I am proposing is not for
    > > traditional refcounting.
    >
    > But you are advertising it as such by calling it a refcount_t and
    > putting it in a file called refcount.h.

    The naming is bad, I agree. But as Dipankar pointed out earlier, there
    was no kref when I did this. We (Dipankar and myslef) had a discussion
    and decided:
    1. I will make a patch to shrink kref and feed it to Greg
    2. Add new set kref api for lockfree refcounting --
    kref_lf_xxx. (kref_lf_get, kref_lf_get_rcu etc.,)
    3. Change the fd lookup patch to use kref_lf_xxx api

    Does that sound ok?

    Thanks,
    Kiran
    -
    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/

    \
     
     \ /
      Last update: 2005-03-22 14:04    [W:3.755 / U:0.428 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site