All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/5] Switch arm64 over to qrwlock
@ 2017-10-06 13:34 ` Will Deacon
  0 siblings, 0 replies; 40+ messages in thread
From: Will Deacon @ 2017-10-06 13:34 UTC (permalink / raw)
  To: linux-kernel
  Cc: linux-arm-kernel, Jeremy.Linton, peterz, mingo, longman,
	boqun.feng, paulmck, Will Deacon

Hi all,

This is version two of the patches I posted yesterday:

  http://lists.infradead.org/pipermail/linux-arm-kernel/2017-October/534666.html

I'd normally leave it longer before posting again, but Peter had a good
suggestion to rework the layout of the lock word, so I wanted to post a
version that follows that approach.

I've updated my branch if you're after the full patch stack:

  git://git.kernel.org/pub/scm/linux/kernel/git/will/linux.git qrwlock

As before, all comments (particularly related to testing and performance)
welcome!

Cheers,

Will

--->8

Will Deacon (5):
  kernel/locking: Use struct qrwlock instead of struct __qrwlock
  locking/atomic: Add atomic_cond_read_acquire
  kernel/locking: Use atomic_cond_read_acquire when spinning in qrwlock
  arm64: locking: Move rwlock implementation over to qrwlocks
  kernel/locking: Prevent slowpath writers getting held up by fastpath

 arch/arm64/Kconfig                      |  17 ++++
 arch/arm64/include/asm/Kbuild           |   1 +
 arch/arm64/include/asm/spinlock.h       | 164 +-------------------------------
 arch/arm64/include/asm/spinlock_types.h |   6 +-
 include/asm-generic/atomic-long.h       |   3 +
 include/asm-generic/qrwlock.h           |  20 +---
 include/asm-generic/qrwlock_types.h     |  15 ++-
 include/linux/atomic.h                  |   4 +
 kernel/locking/qrwlock.c                |  83 +++-------------
 9 files changed, 58 insertions(+), 255 deletions(-)

-- 
2.1.4

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

end of thread, other threads:[~2017-10-11 14:03 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-06 13:34 [PATCH v2 0/5] Switch arm64 over to qrwlock Will Deacon
2017-10-06 13:34 ` Will Deacon
2017-10-06 13:34 ` [PATCH v2 1/5] kernel/locking: Use struct qrwlock instead of struct __qrwlock Will Deacon
2017-10-06 13:34   ` Will Deacon
2017-10-06 13:34 ` [PATCH v2 2/5] locking/atomic: Add atomic_cond_read_acquire Will Deacon
2017-10-06 13:34   ` Will Deacon
2017-10-06 13:34 ` [PATCH v2 3/5] kernel/locking: Use atomic_cond_read_acquire when spinning in qrwlock Will Deacon
2017-10-06 13:34   ` Will Deacon
2017-10-08  1:03   ` Boqun Feng
2017-10-08  1:03     ` Boqun Feng
2017-10-09 11:30     ` Will Deacon
2017-10-09 11:30       ` Will Deacon
2017-10-06 13:34 ` [PATCH v2 4/5] arm64: locking: Move rwlock implementation over to qrwlocks Will Deacon
2017-10-06 13:34   ` Will Deacon
2017-10-10  1:34   ` Waiman Long
2017-10-10  1:34     ` Waiman Long
2017-10-11 11:49     ` Will Deacon
2017-10-11 11:49       ` Will Deacon
2017-10-11 14:03       ` Waiman Long
2017-10-11 14:03         ` Waiman Long
2017-10-06 13:34 ` [PATCH v2 5/5] kernel/locking: Prevent slowpath writers getting held up by fastpath Will Deacon
2017-10-06 13:34   ` Will Deacon
2017-10-08 21:30 ` [PATCH v2 0/5] Switch arm64 over to qrwlock Yury Norov
2017-10-08 21:30   ` Yury Norov
2017-10-09  6:52   ` Peter Zijlstra
2017-10-09  6:52     ` Peter Zijlstra
2017-10-09 10:02     ` Will Deacon
2017-10-09 10:02       ` Will Deacon
2017-10-09  9:59   ` Will Deacon
2017-10-09  9:59     ` Will Deacon
2017-10-09 12:49     ` Yury Norov
2017-10-09 12:49       ` Yury Norov
2017-10-09 13:13       ` Will Deacon
2017-10-09 13:13         ` Will Deacon
2017-10-09 21:19 ` Waiman Long
2017-10-09 21:19   ` Waiman Long
2017-10-09 22:31 ` Jeremy Linton
2017-10-09 22:31   ` Jeremy Linton
2017-10-10 18:20 ` Adam Wallis
2017-10-10 18:20   ` Adam Wallis

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.