lkml.org 
[lkml]   [2015]   [Apr]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 0/2] locking: Simplify mutex and rwsem spinning code
From
Date
On Wed, 2015-04-08 at 12:39 -0700, Jason Low wrote:
> This patchset applies on top of tip.
>
> Jason Low (2):
> locking/mutex: Further refactor mutex_spin_on_owner()
> locking/rwsem: Use a return variable in rwsem_spin_on_owner()
>
> kernel/locking/mutex.c | 14 ++++----------
> kernel/locking/rwsem-xadd.c | 25 ++++++++++++-------------
> 2 files changed, 16 insertions(+), 23 deletions(-)

Meh. Personally I wouldn't mid leaving these files alone for a change,
the code is already pretty readable imho. Of course its a matter of
taste, so I won't argue.

Thanks,
Davidlohr



\
 
 \ /
  Last update: 2015-04-08 22:21    [W:0.219 / U:0.784 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site