lkml.org 
[lkml]   [2015]   [Feb]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] mutex: Modifications to mutex_spin_on_owner
Date
This patchset contains a few modifications to mutex_spin_on_owner().
The first patch makes the optimistic spinner continue spinning whenever
the owner changes, and the second patch refactors mutex_spin_on_owner()
to micro optimize the code as well as make it simpler.

Jason Low (2):
mutex: In mutex_spin_on_owner(), return true when owner changes
mutex: Refactor mutex_spin_on_owner

kernel/locking/mutex.c | 47 ++++++++++++++++++++++-------------------------
1 files changed, 22 insertions(+), 25 deletions(-)

--
1.7.2.5



\
 
 \ /
  Last update: 2015-02-02 23:21    [W:0.069 / U:1.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site