[PATCH 0/2] locking: Simplify mutex and rwsem spinning code

From: Jason Low
Date: Wed Apr 08 2015 - 15:39:31 EST


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(-)

--
1.7.2.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/