diff options
author | Danilo Krummrich <dakr@kernel.org> | 2024-07-23 18:58:41 +0200 |
---|---|---|
committer | Danilo Krummrich <dakr@kernel.org> | 2024-08-13 16:05:08 +0200 |
commit | a9c0b305ddc1d6415506d26d153386f96f7d3a87 (patch) | |
tree | 6f55a5405db8982ed7e588d253d307bc01c05b81 /Documentation/fpga | |
parent | 5fe01f4ab424b366e49cf213e40c0db9ed23c2a1 (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/fpga')
0 files changed, 0 insertions, 0 deletions