lkml.org 
[lkml]   [2010]   [Jan]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [patch 06/10] affs: Convert semaphores to mutexes
    On Fri, Jan 29, 2010 at 08:38:55PM -0000, Thomas Gleixner wrote:
    > These semaphores are plain mutexes. Convert them to struct mutex.

    Looks good.

    > Map affs_[un]lock_dir() to affs_[un]lock_ext() instead of the "#define
    > i_hash_lock i_ext_lock" magic.

    I'm not sure which of the remapping tricks is the worth one..

    Btw, if we don't want lockdep to complain we'll need annotations on
    affs_lock_dir as it's taken both on parent and child.



    \
     
     \ /
      Last update: 2010-01-29 23:39    [W:0.023 / U:0.168 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site