linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] Optimize __vmalloc_node_range_noprof function.
@ 2025-03-03  9:44 Liu Ye
  2025-03-03  9:44 ` [PATCH 1/4] mm/vmalloc: Remove unnecessary size ALIGN in __vmalloc_node_range_noprof Liu Ye
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Liu Ye @ 2025-03-03  9:44 UTC (permalink / raw)
  To: akpm; +Cc: urezki, hch, linux-mm, linux-kernel, Liu Ye

The use of variables real_size and real_align in function 
__vmalloc_node_range_noprof is unreadable. Optimize it in four patches.

Liu Ye (4):
  mm/vmalloc: Remove unnecessary size ALIGN in
    __vmalloc_node_range_noprof
  mm/vmalloc: Size should be used instead of real_size in
    __vmalloc_node_range_noprof
  mm/vmalloc: Remove the real_size variable to simplify the code in
    __vmalloc_node_range_noprof
  mm/vmalloc: Rename the variable real_align to original_align to
    prevent misunderstanding

 mm/vmalloc.c | 20 ++++++++------------
 1 file changed, 8 insertions(+), 12 deletions(-)

-- 
2.25.1



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2025-03-06  1:32 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-03-03  9:44 [PATCH 0/4] Optimize __vmalloc_node_range_noprof function Liu Ye
2025-03-03  9:44 ` [PATCH 1/4] mm/vmalloc: Remove unnecessary size ALIGN in __vmalloc_node_range_noprof Liu Ye
2025-03-03 18:30   ` Uladzislau Rezki
2025-03-05  1:46     ` liuye
2025-03-05 10:02       ` Baoquan He
2025-03-05 10:06         ` Uladzislau Rezki
2025-03-06  1:32           ` liuye
2025-03-03  9:44 ` [PATCH 2/4] mm/vmalloc: Size should be used instead of real_size " Liu Ye
2025-03-03  9:44 ` [PATCH 3/4] mm/vmalloc: Remove the real_size variable to simplify the code " Liu Ye
2025-03-03  9:44 ` [PATCH 4/4] mm/vmalloc: Rename the variable real_align to original_align to prevent misunderstanding Liu Ye
2025-03-03 16:09 ` [PATCH 0/4] Optimize __vmalloc_node_range_noprof function Uladzislau Rezki
2025-03-04  5:58   ` Dev Jain
2025-03-05  1:33     ` liuye

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox