summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc
AgeCommit message (Expand)AuthorFilesLines
2025-04-22rust: alloc: allow coercion from `Box<T>` to `Box<dyn U>` if T implements UAlexandre Courbot1-1/+39
2025-04-07rust: alloc: use `spare_capacity_mut` to reduce unsafeTamir Duberstein1-8/+3
2025-04-07rust: alloc: add Vec::resize methodAndrew Ballance1-0/+27
2025-04-07rust: alloc: add Vec::truncate methodAndrew Ballance1-0/+35
2025-04-07rust: alloc: add missing invariant in Vec::set_len()Danilo Krummrich1-0/+3
2025-03-31Merge tag 'rust-6.15' of git://git.kernel.org/pub/scm/linux/kernel/git/ojeda/...Linus Torvalds2-1/+13
2025-03-26Merge tag 'rust-hrtimer-for-v6.15-v3' of https://github.com/Rust-for-Linux/li...Miguel Ojeda1-0/+6
2025-03-22rust: alloc: add `Box::into_pin`Andreas Hindborg1-0/+6
2025-03-16rust: make pin-init its own crateBenno Lossin1-2/+2
2025-03-16rust: add `ZeroableOption` and implement it instead of `Zeroable` for `Option...Benno Lossin1-2/+2
2025-03-16rust: pin-init: move impl `Zeroable` for `Opaque` and `Option<KBox<T>>` into ...Benno Lossin1-1/+7
2025-03-16rust: pin-init: move `InPlaceInit` and impls of `InPlaceWrite` into the kerne...Benno Lossin1-1/+2
2025-03-06rust: alloc: make `ReallocFunc::call` inlineGary Guo1-0/+1
2025-03-06rust: alloc: satisfy POSIX alignment requirementTamir Duberstein1-0/+18
2025-01-14rust: kernel: add improved version of `ForeignOwnable::borrow_mut`Alice Ryhl1-0/+21
2025-01-14rust: kernel: change `ForeignOwnable` pointer to mutTamir Duberstein1-8/+8
2025-01-14rust: types: avoid `as` castsTamir Duberstein1-4/+4
2025-01-14rust: alloc: add doctest for `ArrayLayout::new()`Jimmy Ostler1-0/+19
2024-12-18rust: alloc: align Debug implementation for Box with DisplayGuangbo Cui1-1/+1
2024-12-18rust: alloc: implement Display for BoxGuangbo Cui1-0/+10
2024-11-25rust: alloc: Fix `ArrayLayout` allocationsAsahi Lina1-1/+1
2024-11-11rust: use custom FFI integer typesGary Guo3-9/+9
2024-10-16kbuild: rust: remove the `alloc` crate and `GlobalAlloc`Danilo Krummrich1-63/+2
2024-10-16rust: alloc: implement `Cmalloc` in module allocator_testDanilo Krummrich1-8/+81
2024-10-16rust: alloc: remove `VecExt` extensionDanilo Krummrich1-185/+0
2024-10-16rust: alloc: implement `collect` for `IntoIter`Danilo Krummrich1-0/+95
2024-10-16rust: alloc: implement `IntoIterator` for `Vec`Danilo Krummrich1-0/+170
2024-10-16rust: alloc: implement kernel `Vec` typeDanilo Krummrich1-0/+648
2024-10-15rust: alloc: introduce `ArrayLayout`Benno Lossin1-0/+91
2024-10-15rust: alloc: remove extension of std's `Box`Danilo Krummrich1-89/+0
2024-10-15rust: alloc: implement kernel `Box`Danilo Krummrich1-0/+456
2024-10-15rust: alloc: implement `KVmalloc` allocatorDanilo Krummrich2-0/+37
2024-10-15rust: alloc: implement `Vmalloc` allocatorDanilo Krummrich2-0/+38
2024-10-15rust: alloc: add module `allocator_test`Danilo Krummrich1-0/+20
2024-10-15rust: alloc: implement `Allocator` for `Kmalloc`Danilo Krummrich1-3/+28
2024-10-15rust: alloc: implement `ReallocFunc`Danilo Krummrich1-0/+70
2024-10-14rust: alloc: rename `KernelAllocator` to `Kmalloc`Danilo Krummrich1-3/+3
2024-10-14rust: alloc: separate `aligned_size` from `krealloc_aligned`Danilo Krummrich1-7/+12
2024-10-07rust: enable `clippy::undocumented_unsafe_blocks` lintMiguel Ojeda1-0/+2
2024-09-25Merge tag 'rust-6.12' of https://github.com/Rust-for-Linux/linuxLinus Torvalds1-1/+32
2024-09-05rust: avoid `box_uninit_write` featureMiguel Ojeda1-2/+4
2024-08-27rust: alloc: eschew `Box<MaybeUninit<T>>::write`Jubilee Young1-2/+4
2024-08-22rust: kernel: add `drop_contents` to `BoxExt`Benno Lossin1-1/+30
2024-07-15Merge branch 'slab/for-6.11/buckets' into slab/for-nextVlastimil Babka1-13/+6
2024-07-03slab, rust: extend kmalloc() alignment guarantees to remove Rust paddingVlastimil Babka1-13/+6
2024-06-12rust: avoid unused import warning in `rusttest`Miguel Ojeda1-2/+5
2024-05-08rust: alloc: fix dangling pointer in VecExt<T>::reserve()Danilo Krummrich1-2/+9
2024-05-05rust: kernel: remove redundant importsMiguel Ojeda3-4/+0
2024-04-16rust: kernel: remove usage of `allocator_api` unstable featureWedson Almeida Filho2-4/+3
2024-04-16rust: alloc: update `VecExt` to take allocation flagsWedson Almeida Filho1-15/+143