aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_xarray.c
diff options
context:
space:
mode:
authorLiu Ye <[email protected]>2025-03-06 07:21:31 +0000
committerAndrew Morton <[email protected]>2025-03-18 05:06:58 +0000
commitf0e11a997ab438ce91a7dc9a6dd64c0c4a6af112 (patch)
tree60f86ff6fa96ef023b9f4fff5ead543e2aa44326 /lib/test_xarray.c
parentmm: page_owner: use new iteration API (diff)
downloadkernel-f0e11a997ab438ce91a7dc9a6dd64c0c4a6af112.tar.gz
kernel-f0e11a997ab438ce91a7dc9a6dd64c0c4a6af112.zip
mm/vmalloc: refactor __vmalloc_node_range_noprof()
According to the code logic, the first parameter of the sub-function __get_vm_area_node() should be size instead of real_size. Then in __get_vm_area_node(), the size will be aligned, so the redundant alignment operation is deleted. The use of the real_size variable causes code redundancy, so it is removed to simplify the code. The real prefix is generally used to indicate the adjusted value of a parameter, but according to the code logic, it should indicate the original value, so it is recommended to rename it to original_align. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Liu Ye <[email protected]> Reviewed-by: "Uladzislau Rezki (Sony)" <[email protected]> Cc: Christop Hellwig <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'lib/test_xarray.c')
0 files changed, 0 insertions, 0 deletions