summaryrefslogtreecommitdiff
path: root/io_uring
diff options
context:
space:
mode:
authorDanilo Krummrich <dakr@kernel.org>2024-07-23 18:58:41 +0200
committerDanilo Krummrich <dakr@kernel.org>2024-10-08 16:13:32 +0200
commitb9f0e3cec3bb9500706f8367ad0efd86707594ec (patch)
treed83481d00754b8048faed1443c6e98b9e706a901 /io_uring
parent68d7d5e776589f11c1add2f7dec7e13a85bcb5ea (diff)
rust: alloc: implement `KVmalloc` allocator
Implement `Allocator` for `KVmalloc`, an `Allocator` that tries to allocate memory wth `kmalloc` first and, on failure, falls back to `vmalloc`. All memory allocations made with `KVmalloc` end up in `kvrealloc_noprof()`; all frees in `kvfree()`. Reviewed-by: Alice Ryhl <aliceryhl@google.com> Reviewed-by: Benno Lossin <benno.lossin@proton.me> Reviewed-by: Gary Guo <gary@garyguo.net> Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'io_uring')
0 files changed, 0 insertions, 0 deletions