lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 28 Nov 2017 18:42:17 +0000
From:   Will Deacon <will.deacon@....com>
To:     linux-kernel@...r.kernel.org
Cc:     sebott@...ux.vnet.ibm.com, schwidefsky@...ibm.com,
        heiko.carstens@...ibm.com, peterz@...radead.org, mingo@...nel.org,
        Will Deacon <will.deacon@....com>
Subject: [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(-)

-- 
2.1.4

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ