OpenCloudOS-Kernel/rust/kernel/sync
Wedson Almeida Filho 6d20d629c6 rust: lock: introduce `Mutex`
This is the `struct mutex` lock backend and allows Rust code to use the
kernel mutex idiomatically.

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>
Signed-off-by: Wedson Almeida Filho <walmeida@microsoft.com>
Link: https://lore.kernel.org/r/20230411054543.21278-3-wedsonaf@gmail.com
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2023-04-22 00:20:00 +02:00
..
arc rust: sync: arc: Implement Arc<dyn Any + Send + Sync>::downcast() 2023-04-10 23:55:43 +02:00
lock rust: lock: introduce `Mutex` 2023-04-22 00:20:00 +02:00
arc.rs rust: sync: add functions for initializing `UniqueArc<MaybeUninit<T>>` 2023-04-12 18:41:05 +02:00
lock.rs rust: lock: introduce `Mutex` 2023-04-22 00:20:00 +02:00