public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/8] locking: Various updates
@ 2014-12-28  9:11 Davidlohr Bueso
  2014-12-28  9:11 ` [PATCH 1/8] Documentation/memory-barriers.txt: Fix smp typo Davidlohr Bueso
                   ` (7 more replies)
  0 siblings, 8 replies; 16+ messages in thread
From: Davidlohr Bueso @ 2014-12-28  9:11 UTC (permalink / raw)
  To: Peter Zijlstra, Ingo Molnar
  Cc: Paul E. McKenney, Davidlohr Bueso, linux-kernel

Hello,

A little bit of everything really, with the last two patches being
the most interesting ones.

Patch 1 fixes a silly typo.
Patches 2-5 cleanup a bit of ww mutex code.
Patch 6 isolates osq code.
Patch 7 uses the brand new READ/ASSIGN_ONCE primitives.
Patch 8 is a performance patch and gets rid of barrier calls when
        polling for the (osq) lock.

More details obviously in the individual patches. Applies on today's -tip.

Please consider for 3.20, thanks!

Davidlohr Bueso (8):
  Documentation/memory-barriers.txt: Fix smp typo
  locking/mutex: Get rid of use_ww_cxt param in common paths
  locking/mutex: Checking the stamp is ww only
  locking/mutex: Delete useless comment
  locking/mutex: Introduce ww_mutex_set_context_slowpath
  locking/mcs: Better differentiate between mcs variants
  locking: Use [READ,ASSIGN]_ONCE() for non-scalar types
  locking/osq: No need for load/acquire when acquire-polling

 Documentation/memory-barriers.txt |   2 +-
 include/linux/osq_lock.h          |  12 ++-
 kernel/Kconfig.locks              |   4 +
 kernel/locking/Makefile           |   3 +-
 kernel/locking/mcs_spinlock.c     | 208 --------------------------------------
 kernel/locking/mcs_spinlock.h     |  22 +---
 kernel/locking/mutex.c            |  99 +++++++++---------
 kernel/locking/osq_lock.c         | 203 +++++++++++++++++++++++++++++++++++++
 kernel/locking/rwsem-xadd.c       |   4 +-
 9 files changed, 276 insertions(+), 281 deletions(-)
 delete mode 100644 kernel/locking/mcs_spinlock.c
 create mode 100644 kernel/locking/osq_lock.c

-- 
2.1.2


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

end of thread, other threads:[~2015-01-14 15:55 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-28  9:11 [PATCH 0/8] locking: Various updates Davidlohr Bueso
2014-12-28  9:11 ` [PATCH 1/8] Documentation/memory-barriers.txt: Fix smp typo Davidlohr Bueso
2014-12-31  2:02   ` Paul E. McKenney
2014-12-28  9:11 ` [PATCH 2/8] locking/mutex: Get rid of use_ww_cxt param in common paths Davidlohr Bueso
2014-12-28 16:23   ` Peter Zijlstra
2014-12-28 18:12     ` Davidlohr Bueso
2014-12-28  9:11 ` [PATCH 3/8] locking/mutex: Checking the stamp is ww only Davidlohr Bueso
2014-12-28  9:11 ` [PATCH 4/8] locking/mutex: Delete useless comment Davidlohr Bueso
2014-12-28  9:11 ` [PATCH 5/8] locking/mutex: Introduce ww_mutex_set_context_slowpath Davidlohr Bueso
2014-12-28  9:11 ` [PATCH 6/8] locking/mcs: Better differentiate between mcs variants Davidlohr Bueso
2015-01-14 14:13   ` Ingo Molnar
2015-01-14 15:55     ` Davidlohr Bueso
2015-01-14 14:16   ` Ingo Molnar
2014-12-28  9:11 ` [PATCH 7/8] locking: Use [READ,ASSIGN]_ONCE() for non-scalar types Davidlohr Bueso
2014-12-28 16:30   ` Peter Zijlstra
2014-12-28  9:11 ` [PATCH 8/8] locking/osq: No need for load/acquire when acquire-polling Davidlohr Bueso

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