Skip to contentSkip to conversation

locking fixes

GIT PULL Ingo Molnar 1 participant 1 message Dec 15, 2017

lore
Share & tools
lore
#0 lore raw

Linus,

Please pull the latest locking-urgent-for-linus git tree from:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking-urgent-for-linus

# HEAD: 92ccc262e485781ff4c0fb3b7c77a619282df49a tools/lib/lockdep: Add missing declaration of 'pr_cont()'

Misc fixes:

- Fix a S390 boot hang that was caused by the lock-break logic. Remove lock-break to begin with, as review suggested it was unreasonably fragile and our confidence in its continued good health is lower than our confidence in its removal.

- Remove the lockdep cross-release checking code for now, because of unresolved false positive warnings. This should make lockdep work well everywhere again.

- Get rid of the final (and single) ACCESS_ONCE() straggler and remove the API from v4.15.

- Fix a liblockdep build warning.

Thanks,

Ingo

------------------>
Ingo Molnar (1):
locking/lockdep: Remove the cross-release locking checks

Mark Rutland (4):
tools/perf: Convert ACCESS_ONCE() to READ_ONCE() tools/include: Remove ACCESS_ONCE() compiler.h: Remove ACCESS_ONCE()
checkpatch: Remove ACCESS_ONCE() warning

Mengting Zhang (1):
tools/lib/lockdep: Add missing declaration of 'pr_cont()'

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

 Documentation/locking/crossrelease.txt | 874 ---------------------------------
 include/linux/compiler.h               |  47 +-
 include/linux/completion.h             |  45 --
 include/linux/lockdep.h                | 125 -----
 include/linux/rwlock_types.h           |   3 -
 include/linux/sched.h                  |  11 -
 include/linux/spinlock.h               |   5 -
 include/linux/spinlock_types.h         |   3 -
 kernel/locking/lockdep.c               | 652 ++----------------------
 kernel/locking/spinlock.c              |  13 +-
 lib/Kconfig.debug                      |  33 --
 scripts/checkpatch.pl                  |  22 -
 tools/include/linux/compiler.h         |  21 +-
 tools/include/linux/lockdep.h          |   1 +
 tools/perf/util/mmap.h                 |   2 +-
 15 files changed, 60 insertions(+), 1797 deletions(-)
 delete mode 100644 Documentation/locking/crossrelease.txt