diff options
| author | Mitchell Levy <[email protected]> | 2025-03-07 23:27:01 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2025-03-07 23:55:04 +0000 |
| commit | f73ca66f0d7f4371d172d6f5b1f9a00e367ba921 (patch) | |
| tree | f61b0e29525c92a198a8c0ab3389437e000f5b82 /net/unix/af_unix.c | |
| parent | rust: sync: condvar: Add wait_interruptible_freezable() (diff) | |
| download | kernel-f73ca66f0d7f4371d172d6f5b1f9a00e367ba921.tar.gz kernel-f73ca66f0d7f4371d172d6f5b1f9a00e367ba921.zip | |
rust: lockdep: Use Pin for all LockClassKey usages
Reintroduce dynamically-allocated LockClassKeys such that they are
automatically (de)registered. Require that all usages of LockClassKeys
ensure that they are Pin'd.
Currently, only `'static` LockClassKeys are supported, so Pin is
redundant. However, it is intended that dynamically-allocated
LockClassKeys will eventually be supported, so using Pin from the outset
will make that change simpler.
Closes: https://github.com/Rust-for-Linux/linux/issues/1102
Suggested-by: Benno Lossin <[email protected]>
Suggested-by: Boqun Feng <[email protected]>
Signed-off-by: Mitchell Levy <[email protected]>
Signed-off-by: Boqun Feng <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Reviewed-by: Benno Lossin <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
