Skip to content

[RHEL9.4] Update locking code to upstream v6.4 with additional fixes

Joel Savitz requested to merge jsavitz/centos-stream-9:RHEL-5226.post into main

JIRA: https://issues.redhat.com/browse/RHEL-5226

 arch/x86/include/asm/sections.h                             |  18 ---
 include/linux/lockdep.h                                     |  14 ++
 include/linux/lockdep_types.h                               |   1 +
 kernel/futex/core.c                                         |  12 +-
 kernel/locking/Makefile                                     |   1 -
 kernel/locking/lockdep.c                                    |  67 +++++----
 kernel/locking/locktorture.c                                | 289 +++++++++++++++++++++++++++++++--------
 kernel/locking/qspinlock.c                                  |   4 +-
 kernel/locking/rtmutex.c                                    | 170 +++++++++++++++--------
 kernel/locking/rtmutex_api.c                                |   2 +-
 kernel/locking/rtmutex_common.h                             |  47 +++++--
 kernel/locking/rwsem.c                                      |   8 +-
 kernel/locking/ww_mutex.h                                   |  12 +-
 lib/debugobjects.c                                          | 176 ++++++++++++++----------
 mm/kmsan/instrumentation.c                                  |   8 +-
 tools/testing/selftests/rcutorture/configs/lock/CFLIST      |   2 +
 tools/testing/selftests/rcutorture/configs/lock/LOCK08      |   6 +
 tools/testing/selftests/rcutorture/configs/lock/LOCK08.boot |   1 +
 tools/testing/selftests/rcutorture/configs/lock/LOCK09      |   6 +
 tools/testing/selftests/rcutorture/configs/lock/LOCK09.boot |   1 +
 20 files changed, 580 insertions(+), 265 deletions(-)

Omitted-fix: 807ff7ed34d2 ("futex: add missing rtmutex.h include")
	part of patchset not being backported: https://patchwork.freedesktop.org/series/102340/
	tiny change to locking code is only incidental

Omitted-fix: f5d39b020809 ("freezer,sched: Rewrite core freezer logic")
	changes to futex subsystem are only incidental to larger rewrite of freezer logic

Omitted-fix: 68ffa230daa0 ("LoongArch: Fix lockdep static memory detection")
	unsupported arch

Signed-off-by: Joel Savitz jsavitz@redhat.com

Edited by Joel Savitz

Merge request reports