linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Fix boot regression for s390 and remove break_lock
@ 2017-11-28 18:42 Will Deacon
  2017-11-28 18:42 ` [PATCH 1/2] locking/core: Fix deadlock during boot on systems with GENERIC_LOCKBREAK Will Deacon
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Will Deacon @ 2017-11-28 18:42 UTC (permalink / raw)
  To: linux-kernel
  Cc: sebott, schwidefsky, heiko.carstens, peterz, mingo, Will Deacon

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(-)

-- 
2.1.4

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

end of thread, other threads:[~2017-12-12 11:02 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-28 18:42 [PATCH 0/2] Fix boot regression for s390 and remove break_lock Will Deacon
2017-11-28 18:42 ` [PATCH 1/2] locking/core: Fix deadlock during boot on systems with GENERIC_LOCKBREAK Will Deacon
2017-12-12 10:58   ` [tip:locking/urgent] " tip-bot for Will Deacon
2017-11-28 18:42 ` [PATCH 2/2] locking/core: Remove break_lock field when CONFIG_GENERIC_LOCKBREAK=y Will Deacon
2017-12-12 10:58   ` [tip:locking/urgent] " tip-bot for Will Deacon
2017-12-02  9:02 ` [PATCH 0/2] Fix boot regression for s390 and remove break_lock Heiko Carstens
2017-12-11 12:47   ` Will Deacon
2017-12-11 14:02     ` Ingo Molnar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).