Re: [PATCH v2 2/4] mm/util: Add kvmalloc_node_caller

2021-03-24 Thread David Rientjes
On Wed, 24 Mar 2021, Matthew Wilcox (Oracle) wrote: > Allow the caller of kvmalloc to specify who counts as the allocator > of the memory instead of assuming it's the immediate caller. > > Signed-off-by: Matthew Wilcox (Oracle) Acked-by: David Rientjes

[PATCH v2 2/4] mm/util: Add kvmalloc_node_caller

2021-03-24 Thread Matthew Wilcox (Oracle)
Allow the caller of kvmalloc to specify who counts as the allocator of the memory instead of assuming it's the immediate caller. Signed-off-by: Matthew Wilcox (Oracle) --- include/linux/mm.h | 4 +++- include/linux/slab.h | 2 ++ mm/util.c| 51 +---