[PATCH locking 00/11] LOCKDEP and Rust locking changes for v6.15
From: Boqun Feng
Date: Fri Mar 07 2025 - 18:29:03 EST
Hi Ingo & Peter,
As discussed, I'm resending the pull request for lockdep and Rust
locking for v6.15 in the format of email patches. I dropped one patch
and will postpone it for v6.16 because of a bug [1], and I think the fix
[2] needs more reviews.
[1]: https://lore.kernel.org/lkml/20250306122413.GBZ8mT7Z61Tmgnh5Y9@fat_crate.local/
[2]: https://lore.kernel.org/lkml/Z8t8imzJVhWyDvhC@boqun-archlinux/
Regards,
Boqun
Alice Ryhl (2):
rust: sync: Add accessor for the lock behind a given guard
rust: sync: condvar: Add wait_interruptible_freezable()
Boqun Feng (1):
rust: sync: lock: Add an example for Guard::lock_ref()
Mitchell Levy (2):
rust: lockdep: Remove support for dynamically allocated LockClassKeys
rust: lockdep: Use Pin for all LockClassKey usages
Randy Dunlap (1):
locking/rtmutex: Use struct keyword in kernel-doc comment
Waiman Long (5):
locking/semaphore: Use wake_q to wake up processes outside lock
critical section
locking/lock_events: Add locking events for rtmutex slow paths
locking/lock_events: Add locking events for lockdep
locking/lockdep: Disable KASAN instrumentation of lockdep.c
locking/lockdep: Add kasan_check_byte() check in lock_acquire()
kernel/locking/Makefile | 3 +-
kernel/locking/lock_events_list.h | 28 ++++++++++++++
kernel/locking/lockdep.c | 17 ++++++++-
kernel/locking/rtmutex.c | 29 +++++++++++---
kernel/locking/rtmutex_common.h | 4 +-
kernel/locking/semaphore.c | 13 +++++--
rust/helpers/helpers.c | 1 +
rust/helpers/sync.c | 13 +++++++
rust/kernel/sync.rs | 63 ++++++++++++++++++++++++++-----
rust/kernel/sync/condvar.rs | 28 ++++++++++++--
rust/kernel/sync/lock.rs | 35 +++++++++++++++--
rust/kernel/sync/lock/global.rs | 5 ++-
rust/kernel/sync/poll.rs | 2 +-
rust/kernel/task.rs | 2 +
rust/kernel/workqueue.rs | 2 +-
15 files changed, 211 insertions(+), 34 deletions(-)
create mode 100644 rust/helpers/sync.c
--
2.47.1