summaryrefslogtreecommitdiffstats
path: root/rust/kernel/sync
Commit message (Expand)AuthorAgeFilesLines
* Merge tag 'wq-for-6.7-rust-bindings' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds2023-10-301-2/+44
|\
| * rust: sync: add `Arc::{from_raw, into_raw}`Wedson Almeida Filho2023-09-251-2/+44
* | rust: kernel: remove `#[allow(clippy::new_ret_no_self)]`Gary Guo2023-10-052-2/+0
* | rust: arc: add explicit `drop()` around `Box::from_raw()`Miguel Ojeda2023-10-051-1/+1
|/
* Merge tag 'rust-6.6' of https://github.com/Rust-for-Linux/linuxLinus Torvalds2023-08-291-3/+3
|\
| * rust: lock: Add intra-doc links to the Backend traitBen Gooding2023-08-071-3/+3
* | Merge tag 'linux-kselftest-kunit-6.6-rc1' of git://git.kernel.org/pub/scm/lin...Linus Torvalds2023-08-283-2/+9
|\ \ | |/ |/|
| * rust: sync: make doctests compilable/testableMiguel Ojeda2023-07-193-2/+9
* | rust: delete `ForeignOwnable::borrow_mut`Alice Ryhl2023-08-041-2/+1
|/
* rust: sync: reword the `Arc` safety comment for `Sync`Alice Ryhl2023-05-311-3/+5
* rust: sync: reword the `Arc` safety comment for `Send`Alice Ryhl2023-05-311-2/+2
* rust: sync: implement `AsRef<T>` for `Arc<T>`Alice Ryhl2023-05-311-0/+6
* rust: sync: add `Arc::ptr_eq`Alice Ryhl2023-05-311-0/+5
* rust: arc: fix intra-doc link in `Arc<T>::init`Miguel Ojeda2023-05-311-1/+1
* rust: sync: introduce `CondVar`Wedson Almeida Filho2023-04-222-1/+174
* rust: lock: add `Guard::do_unlocked`Wedson Almeida Filho2023-04-222-2/+30
* rust: sync: introduce `LockedBy`Wedson Almeida Filho2023-04-222-1/+157
* rust: lock: introduce `SpinLock`Wedson Almeida Filho2023-04-222-0/+117
* rust: lock: introduce `Mutex`Wedson Almeida Filho2023-04-222-0/+120
* rust: sync: introduce `Lock` and `Guard`Wedson Almeida Filho2023-04-221-0/+162
* rust: sync: add functions for initializing `UniqueArc<MaybeUninit<T>>`Benno Lossin2023-04-121-0/+24
* rust: sync: reduce stack usage of `UniqueArc::try_new_uninit`Benno Lossin2023-04-121-3/+13
* rust: init/sync: add `InPlaceInit` trait to pin-initialize smart pointersBenno Lossin2023-04-121-0/+24
* rust: sync: change error type of constructor functionsBenno Lossin2023-04-121-4/+4
* rust: sync: arc: Add UniqueArc<MaybeUninit<T>::assume_init()Asahi Lina2023-04-121-0/+11
* rust: sync: arc: Implement Arc<dyn Any + Send + Sync>::downcast()Asahi Lina2023-04-102-0/+30
* rust: sync: impl {Debug,Display} for {Unique,}ArcBoqun Feng2023-04-101-0/+25
* rust: types: implement `ForeignOwnable` for `Arc<T>`Wedson Almeida Filho2023-02-071-1/+31
* rust: sync: add support for dispatching on Arc and ArcBorrow.Wedson Almeida Filho2023-01-161-2/+18
* rust: sync: introduce `UniqueArc`Wedson Almeida Filho2023-01-161-2/+150
* rust: sync: allow type of `self` to be `ArcBorrow<T>`Wedson Almeida Filho2023-01-161-0/+23
* rust: sync: introduce `ArcBorrow`Wedson Almeida Filho2023-01-161-0/+97
* rust: sync: allow coercion from `Arc<T>` to `Arc<U>`Wedson Almeida Filho2023-01-161-1/+26
* rust: sync: allow type of `self` to be `Arc<T>` or variantsWedson Almeida Filho2023-01-161-0/+28
* rust: sync: add `Arc` for ref-counted allocationsWedson Almeida Filho2023-01-161-0/+157