[PATCH 0/3] Some fixes for mm code optimization

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

 



These patches try to optimize existing code of mm.

First patch, removes the useless parameter order of function
finalise_ac. This function is just used by __alloc_pages_nodemask
in mm/page_alloc.c.

Second patch, modifies the local variable bit's type to unsigned int
in function gfp_zone.

Third patch, fixes a typo in debug message to avoid confusion.

All patches have been tested on Lenovo Purley product.


Huaisheng Ye (3):
  mm/page_alloc: Remove useless parameter of finalise_ac
  include/linux/gfp.h: use unsigned int in gfp_zone
  mm/page_alloc: Fix typo in debug info of calculate_node_totalpages

 include/linux/gfp.h | 2 +-
 mm/page_alloc.c     | 7 +++----
 2 files changed, 4 insertions(+), 5 deletions(-)

-- 
1.8.3.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