[GIT PULL] locking changes for v4.21

From: Ingo Molnar
Date: Mon Dec 24 2018 - 17:25:49 EST


Linus,

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

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

# HEAD: 80eb865768703c0f85a0603762742ae1dedf21f0 sched/fair: Clean up comment in nohz_idle_balance()

The main change in this cycle are initial preparatory bits of dynamic
lockdep keys support from Bart Van Assche. There's also misc changes, a
comment cleanup and a data structure cleanup.

Thanks,

Ingo

------------------>
Andrea Parri (1):
sched/fair: Clean up comment in nohz_idle_balance()

Bart Van Assche (13):
tools/lib/lockdep/tests: Display compiler warning and error messages
tools/lib/lockdep/tests: Fix shellcheck warnings
tools/lib/lockdep/tests: Improve testing accuracy
tools/lib/lockdep/tests: Run lockdep tests a second time under Valgrind
tools/lib/lockdep: Rename "trywlock" into "trywrlock"
tools/lib/lockdep: Add dummy print_irqtrace_events() implementation
tools/lib/lockdep/tests: Test the lockdep_reset_lock() implementation
locking/lockdep: Declare local symbols static
locking/lockdep: Inline __lockdep_init_map()
locking/lockdep: Introduce lock_class_cache_is_registered()
locking/lockdep: Remove a superfluous INIT_LIST_HEAD() statement
locking/lockdep: Make concurrent lockdep_reset_lock() calls safe
locking/lockdep: Stop using RCU primitives to access 'all_lock_classes'

Waiman Long (1):
locking/lockdep: Remove ::version from lock_class structure


include/linux/lockdep.h | 2 -
kernel/locking/lockdep.c | 76 +++++++++++++++------------
kernel/sched/fair.c | 4 +-
tools/lib/lockdep/include/liblockdep/common.h | 1 +
tools/lib/lockdep/include/liblockdep/mutex.h | 1 +
tools/lib/lockdep/include/liblockdep/rwlock.h | 6 +--
tools/lib/lockdep/lockdep.c | 5 ++
tools/lib/lockdep/run_tests.sh | 39 +++++++++-----
tools/lib/lockdep/tests/AA.sh | 2 +
tools/lib/lockdep/tests/ABA.sh | 2 +
tools/lib/lockdep/tests/ABBA.c | 3 ++
tools/lib/lockdep/tests/ABBA.sh | 2 +
tools/lib/lockdep/tests/ABBA_2threads.sh | 2 +
tools/lib/lockdep/tests/ABBCCA.c | 4 ++
tools/lib/lockdep/tests/ABBCCA.sh | 2 +
tools/lib/lockdep/tests/ABBCCDDA.c | 5 ++
tools/lib/lockdep/tests/ABBCCDDA.sh | 2 +
tools/lib/lockdep/tests/ABCABC.c | 4 ++
tools/lib/lockdep/tests/ABCABC.sh | 2 +
tools/lib/lockdep/tests/ABCDBCDA.c | 5 ++
tools/lib/lockdep/tests/ABCDBCDA.sh | 2 +
tools/lib/lockdep/tests/ABCDBDDA.c | 5 ++
tools/lib/lockdep/tests/ABCDBDDA.sh | 2 +
tools/lib/lockdep/tests/WW.sh | 2 +
tools/lib/lockdep/tests/unlock_balance.c | 2 +
tools/lib/lockdep/tests/unlock_balance.sh | 2 +
26 files changed, 131 insertions(+), 53 deletions(-)
create mode 100644 tools/lib/lockdep/tests/AA.sh
create mode 100644 tools/lib/lockdep/tests/ABA.sh
create mode 100644 tools/lib/lockdep/tests/ABBA.sh
create mode 100644 tools/lib/lockdep/tests/ABBA_2threads.sh
create mode 100644 tools/lib/lockdep/tests/ABBCCA.sh
create mode 100644 tools/lib/lockdep/tests/ABBCCDDA.sh
create mode 100644 tools/lib/lockdep/tests/ABCABC.sh
create mode 100644 tools/lib/lockdep/tests/ABCDBCDA.sh
create mode 100644 tools/lib/lockdep/tests/ABCDBDDA.sh
create mode 100644 tools/lib/lockdep/tests/WW.sh
create mode 100644 tools/lib/lockdep/tests/unlock_balance.sh