lkml.org 
[lkml]   [2006]   [Jul]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [01/04 mm-patch, rfc] Add lightweight rwlock
    From
    Hi,

    > The following set of patches adds a struct lw_rwlock (for lightweight
    > rwlock) which contains a spin_lock_t and an atomic_t. It is defined
    > in include/linux/lw_rwlock.h.

    I think the name, "lightweight" is too generic. It implies just lw_rwlock
    is better than rwlock. The name may lead that people use lw_rwlock rather
    than rwlock any place through there are places where rwlock is better than
    lw_rwlock. So I looked for the name:

    sw_rwlock: seldom writing rwlock
    wp_rwlock: write pricey rwlock
    rp_rwlock: read prioritized rwlock

    If you could find good one, plesae use it instead.

    Masatake YAMATO
    -
    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: 2006-07-31 09:09    [W:9.549 / U:0.044 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site