[PATCH 0/4] Optimize __vmalloc_node_range_noprof function.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux