Thread (9 messages) 9 messages, 4 authors, 2025-08-01

Re: [PATCH v14 2/4] mm/slub: allow to set node and align in k[v]realloc

From: Vlastimil Babka <hidden>
Date: 2025-08-01 10:23:00
Also in: bpf, linux-bcachefs, linux-mm, lkml

On 7/30/25 21:20, Vitaly Wool wrote:
Reimplement k[v]realloc_node() to be able to set node and
alignment should a user need to do so. In order to do that while
retaining the maximal backward compatibility, add
k[v]realloc_node_align() functions and redefine the rest of API
using these new ones.

While doing that, we also keep the number of  _noprof variants to a
minimum, which implies some changes to the existing users of older
_noprof functions, that basically being bcachefs.

With that change we also provide the ability for the Rust part of
the kernel to set node and alignment in its K[v]xxx
[re]allocations.

Signed-off-by: Vitaly Wool <redacted>
Reviewed-by: Vlastimil Babka <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help