mbox series

[0/4] mm/page_alloc.c: cleanup on check page

Message ID 20200119131408.23247-1-richardw.yang@linux.intel.com (mailing list archive)
Headers show
Series mm/page_alloc.c: cleanup on check page | expand

Message

Wei Yang Jan. 19, 2020, 1:14 p.m. UTC
The patch set does some cleanup related to check page:

* extract the common part to do check page 
* rename two functions for consistent name convention
* remove two unnecessary variable assignments

No functional change.

Wei Yang (4):
  mm/page_alloc.c: extract commom part to check page
  mm/page_alloc.c: rename free_pages_check_bad() to
    check_free_page_bad()
  mm/page_alloc.c: rename free_pages_check() to check_free_page()
  mm/page_alloc.c: bad_[reason|flags] is not necessary when PageHWPoison

 mm/page_alloc.c | 50 ++++++++++++++++++++++---------------------------
 1 file changed, 22 insertions(+), 28 deletions(-)