lkml.org 
[lkml]   [2013]   [Mar]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 09/13] rwsem: skip initial trylock in rwsem_down_write_failed
On 03/15/2013 06:54 AM, Michel Lespinasse wrote:
> We can skip the initial trylock in rwsem_down_write_failed() if there are
> known active lockers already, thus saving one likely-to-fail cmpxchg.
>
> Signed-off-by: Michel Lespinasse <walken@google.com>

Acked-by: Rik van Riel <riel@redhat.com>




\
 
 \ /
  Last update: 2013-03-28 23:01    [W:0.259 / U:0.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site