lkml.org 
[lkml]   [2017]   [Feb]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH-tip 0/3] locking/rwsem: Minor twists to improve rwsem performance
Date
Patch 1 checks wait_list without lock when spinners are present.

Patch 2 moves down the rwsem_down_read_failed() function after the
optimistic spinning section so that functions in that section can
be used.

Patch 3 undoes active read lock ASAP when either the spinners are
present or the trylock fails.

Waiman Long (3):
locking/rwsem: Check wait_list without lock if spinner present
locking/rwsem: move down rwsem_down_read_failed()
locking/rwsem: Stop active read lock ASAP

kernel/locking/rwsem-xadd.c | 126 +++++++++++++++++++++++++++-----------------
1 file changed, 78 insertions(+), 48 deletions(-)

--
1.8.3.1

\
 
 \ /
  Last update: 2017-02-22 19:06    [W:1.008 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site