Re: [PATCH 0/5] mm/vmalloc.c: code cleanup and improvements

From: Shivank Garg
Date: Tue Apr 15 2025 - 15:06:47 EST


On 4/15/2025 8:09 AM, Baoquan He wrote:
> These were made from code inspection in mm/vmalloc.c.
>
> Baoquan He (5):
> mm/vmalloc.c: change purge_ndoes as local static variable
> mm/vmalloc.c: find the vmap of vmap_nodes in reverse order
> mm/vmalloc.c: optimize code in decay_va_pool_node() a little bit
> mm/vmalloc: optimize function vm_unmap_aliases()
> mm/vmalloc.c: return explicit error value in alloc_vmap_area()
>
> mm/vmalloc.c | 68 +++++++++++++++++++++++++---------------------------
> 1 file changed, 32 insertions(+), 36 deletions(-)
>

I've tested this patch-series on my AMD EPYC ZEN 3 machine using

1. Using lib/test_vmalloc.c: modprobe test_vmalloc
2. stress-ng: stress-ng --class memory,vm --seq 0

I did not find any issues.

Reviewed-by: Shivank Garg <shivankg@xxxxxxx>
Tested-by: Shivank Garg <shivankg@xxxxxxx>

Thanks,
Shivank