Re: [PATCH v2 07/13] rwsem: use cmpxchg for trying to steal write lock
On 03/15/2013 06:54 AM, Michel Lespinasse wrote: > Using rwsem_atomic_update to try stealing the write lock forced us to > undo the adjustment in the failure path. We can have simpler and faster > code by using cmpxchg instead. > > Signed-off-by: Michel Lespinasse <walken@google.com>