summaryrefslogtreecommitdiff
path: root/rust/macros
diff options
context:
space:
mode:
authorWedson Almeida Filho <walmeida@microsoft.com>2023-04-11 02:45:31 -0300
committerMiguel Ojeda <ojeda@kernel.org>2023-04-21 00:35:26 +0200
commit6ea5aa08857a81be7114b3c21d6aa6db0bc95f99 (patch)
tree4850a5cf34b5a14b77ce0801161ab4695410f51c /rust/macros
parentb0cf5d50210df982878df53ab465e4377ea07065 (diff)
downloadlwn-6ea5aa08857a81be7114b3c21d6aa6db0bc95f99.tar.gz
lwn-6ea5aa08857a81be7114b3c21d6aa6db0bc95f99.zip
rust: sync: introduce `LockClassKey`
It is a wrapper around C's `lock_class_key`, which is used by the synchronisation primitives that are checked with lockdep. This is in preparation for introducing Rust abstractions for these primitives. Cc: Peter Zijlstra <peterz@infradead.org> Cc: Ingo Molnar <mingo@redhat.com> Cc: Will Deacon <will@kernel.org> Cc: Waiman Long <longman@redhat.com> Reviewed-by: Martin Rodriguez Reboredo <yakoyoku@gmail.com> Co-developed-by: Boqun Feng <boqun.feng@gmail.com> Signed-off-by: Boqun Feng <boqun.feng@gmail.com> Signed-off-by: Wedson Almeida Filho <walmeida@microsoft.com> Reviewed-by: Gary Guo <gary@garyguo.net> Reviewed-by: Benno Lossin <benno.lossin@proton.me> Link: https://lore.kernel.org/r/20230411054543.21278-1-wedsonaf@gmail.com Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'rust/macros')
0 files changed, 0 insertions, 0 deletions