[PATCH 0/2] mutex: Modifications to mutex_spin_on_owner

From: Jason Low
Date: Mon Feb 02 2015 - 16:59:35 EST


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

--
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/