mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] mutex: Modifications to mutex_spin_on_owner
@ 2015-02-02 21:59 Jason Low
  2015-02-02 21:59 ` [PATCH 1/2] mutex: In mutex_spin_on_owner(), return true when owner changes Jason Low
  2015-02-02 21:59 ` [PATCH 2/2] mutex: Refactor mutex_spin_on_owner Jason Low
  0 siblings, 2 replies; 6+ messages in thread
From: Jason Low @ 2015-02-02 21:59 UTC (permalink / raw)
  To: Peter Zijlstra, Ingo Molnar, linux-kernel
  Cc: Davidlohr Bueso, Tim Chen, Paul E. McKenney, Linus Torvalds,
	tglx, chegu_vinod, Aswin Chandramouleeswaran, Jason Low

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-02-18 17:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-02 21:59 [PATCH 0/2] mutex: Modifications to mutex_spin_on_owner Jason Low
2015-02-02 21:59 ` [PATCH 1/2] mutex: In mutex_spin_on_owner(), return true when owner changes Jason Low
2015-02-05  4:36   ` Davidlohr Bueso
2015-02-18 17:10   ` [tip:locking/core] locking/mutex: " tip-bot for Jason Low
2015-02-02 21:59 ` [PATCH 2/2] mutex: Refactor mutex_spin_on_owner Jason Low
2015-02-18 17:11   ` [tip:locking/core] locking/mutex: Refactor mutex_spin_on_owner() tip-bot for Jason Low

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome