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

Shivank Garg
2025-04-15T19:06:37Z

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@amd.com>
Tested-by: Shivank Garg <shivankg@amd.com>

Thanks,
Shivank