summaryrefslogtreecommitdiff
path: root/fs/dax.c
diff options
context:
space:
mode:
authorDanilo Krummrich <dakr@kernel.org>2024-07-17 16:59:23 +0200
committerDanilo Krummrich <dakr@kernel.org>2024-08-13 16:04:19 +0200
commit590728e3eb28171682aece2cf1d6209024085271 (patch)
tree4f373c98699a8d47a2fb076e101e888f90ea444e /fs/dax.c
parentb54176537b79224f4591018610015aab700853ad (diff)
mm: vmalloc: implement vrealloc()
Implement vrealloc() analogous to krealloc(). Currently, krealloc() requires the caller to pass the size of the previous memory allocation, which, instead, should be self-contained. We attempt to fix this in a subsequent patch which, in order to do so, requires vrealloc(). Besides that, we need realloc() functions for kernel allocators in Rust too. With `Vec` potentially growing (and shrinking) data structures are rather common. Acked-by: Michal Hocko <mhocko@suse.com> Acked-by: Vlastimil Babka <vbabka@suse.cz> Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'fs/dax.c')
0 files changed, 0 insertions, 0 deletions