Skip to content

Fix boot regression for s390 and remove break_lock

Will Deacon lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2locking/core: Fix deadlock during boot on systems with GENERIC_LOCKBREAKkernel/locking/spinlock.c+4 -40 replies
2/2locking/core: Remove break_lock field when CONFIG_GENERIC_LOCKBREAK=yinclude/linux/rwlock_types.h include/linux/spinlock.h include/linux/spinlock_types.h +1 more+1 -190 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchSebastian Ott
1/2T-b
2/2

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/2] Fix boot regression for s390 and remove break_lock

Hi all,

The following two patches do the following:

1. Fix boot breakage reported on s390 caused by a8a217c22116
2. Kill off the break_lock field entirely, since it's not actually that useful

I didn't go the whole hog and remove CONFIG_GENERIC_LOCKBREAK, since the "do something different with locks in preemptible kernels" isn't necessarily a bad idea, and PowerPC actually implements things like arch_spin_relax for that.

The first patch should go in to 4.15.

Thanks,

Will

--->8

Will Deacon (2):
locking/core: Fix deadlock during boot on systems with
GENERIC_LOCKBREAK
locking/core: Remove break_lock field when CONFIG_GENERIC_LOCKBREAK=y

 include/linux/rwlock_types.h   |  3 ---
 include/linux/spinlock.h       |  5 -----
 include/linux/spinlock_types.h |  3 ---
 kernel/locking/spinlock.c      | 13 +++----------
 4 files changed, 3 insertions(+), 21 deletions(-)
Signature · 1 line
2.1.4