[lkml]   [2001]   [Oct]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: RFC: patch to allow lock-free traversal of lists with insertion
    On Tue, Oct 09, 2001 at 01:51:45PM +0530, BALBIR SINGH wrote:
    > Dipankar Sarma wrote:
    > >Either you see the element or you don't. If you want to avoid duplication,
    > >you could do a locked search before inserting it.
    > >Like I said before, lock-less lookups are useful for read-mostly
    > >data. Yes, updates are costly, but if they happen rarely, you still benefit.
    > >
    > How does this compare to the Read-Copy-Update mechanism? Is this just another way of implementing
    > it, given different usage rules.

    Fundamentally, yes, RCU is a method for lock-less lookup. It is just
    that RCU is elaborate enough to allow you deletion and freeing of
    data as well.

    Dipankar Sarma <> Project:
    Linux Technology Center, IBM Software Lab, Bangalore, India.
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:05    [W:0.031 / U:5.716 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site