lkml.org 
[lkml]   [2021]   [Oct]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH V2 0/3] misc patches for mutex and rwsem
Date
[patch1] locking:remove rcu_read_lock/unlock as we already disabled preemption
v1->2: also remove the unnecessary rcu_read_lock/unlock in rwsem

[patch2] locking/rwsem: disable preemption for spinning region
[patch3] locking/rwsem: fix comments about reader optimistic lock stealing conditions
These two patches were sent to mailing list some weeks ago, but it seemed
to be missed, so send them again.

Yanfei Xu (3):
locking: remove rcu_read_lock/unlock as we already disabled preemption
locking/rwsem: disable preemption for spinning region
locking/rwsem: fix comments about reader optimistic lock stealing
conditions

kernel/locking/mutex.c | 22 +++++++++++++++-------
kernel/locking/rwsem.c | 28 ++++++++++++++++++----------
2 files changed, 33 insertions(+), 17 deletions(-)

--
2.27.0

\
 
 \ /
  Last update: 2021-10-13 15:43    [W:0.177 / U:0.368 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site