[lkml]   [2005]   [Oct]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH RFC] big reader semaphore take#2
    Tejun Heo wrote:
    > Hello guys,
    > This is the second take of brsem (big reader semaphore).
    > Nick, unfortunately, simple array of rwsem's does not work as lock
    > holders are not pinned down to cpus and may release locks on other
    > cpus.

    That's right. It would require down_read to return the index
    or a pointer to the lock that it took, and to pass that into
    up_read. So it wouldn't be a completely drop-in replacement
    for a regular semaphore if that's what you had in mind?


    SUSE Labs, Novell Inc.

    Send instant messages to your online friends

    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-10-28 13:09    [W:0.031 / U:11.476 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site