summaryrefslogtreecommitdiff
path: root/Documentation/tools
diff options
context:
space:
mode:
authorDanilo Krummrich <dakr@kernel.org>2024-07-23 18:58:41 +0200
committerDanilo Krummrich <dakr@kernel.org>2024-08-13 16:05:08 +0200
commita9c0b305ddc1d6415506d26d153386f96f7d3a87 (patch)
tree6f55a5405db8982ed7e588d253d307bc01c05b81 /Documentation/tools
parent5fe01f4ab424b366e49cf213e40c0db9ed23c2a1 (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> Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'Documentation/tools')
0 files changed, 0 insertions, 0 deletions