Skip to content

locking/core patches

Peter Zijlstra lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 26 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8locking: Move mcs_spinlock.h into kernel/locking/include/linux/mcs_spinlock.h kernel/locking/mcs_spinlock.h kernel/locking/mutex.c+115 -1150 replies
2/8mutex: In mutex_can_spin_on_owner(), return false if task need_resched()kernel/locking/mutex.c+3 -01 reply
3/8mutex: Modify the way optimistic spinners are queuedkernel/locking/mutex.c+7 -102 replies
4/8mutex: Unlock the mutex without the wait_lockkernel/locking/mutex.c+4 -40 replies
5/8locking, mutex: Cancelable MCS lock for adaptive spinninginclude/linux/mutex.h kernel/locking/Makefile kernel/locking/mcs_spinlock.c +2 more+191 -78 replies
6/8mutex: Extra reschedule pointkernel/locking/mutex.c+7 -01 reply
7/8locking: Introduce qrwlockinclude/asm-generic/qrwlock.h include/asm-generic/qrwlock_types.h kernel/Kconfig.locks +2 more+331 -06 replies
8/8x86,locking: Enable qrwlockarch/x86/Kconfig arch/x86/include/asm/qrwlock.h arch/x86/include/asm/spinlock.h +1 more+25 -00 replies

Reviews trailers per patch

1 of 8 patches has a Reviewed-by or Acked-by.

PatchJason Low
1/8
2/8
3/8
4/8
5/8R-b
6/8
7/8
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/8] locking/core patches

Hi all,

I would propose merging the following patches...

The first set is mostly from Jason and tweaks the mutex adaptive spinning, AIM7 throughput numbers:

PRE:  100   2000.04  21564.90 2721.29 311.99     3.12       0.01     0.00     99
POST: 100   2000.04  42603.85 5142.80 311.99     3.12       0.00     0.00     99

The second set is the qrwlock, although mostly rewritten by me. I didn't do much with it other than boot and build a kernel. But I like them because of the much better worst case preformance.