Skip to content

mm/page_alloc.c: cleanup on check page

Wei Yang linux-mm lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 20 repliesIn review
  2. v14 patches 5 repliesSuperseded

Changes in v2 from the cover letter

* merge two rename patches into extract patch
* enable dump several reasons for __dump_page()

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4mm: enable dump several reasons for __dump_page()include/linux/mmdebug.h mm/debug.c mm/page_alloc.c+8 -75 replies
2/4mm/page_alloc.c: bad_[reason|flags] is not necessary when PageHWPoisonmm/page_alloc.c+0 -24 replies
3/4mm/page_alloc.c: pass all bad reasons to bad_page()mm/page_alloc.c+28 -247 replies
4/4mm/page_alloc.c: extract commom part to check pagemm/page_alloc.c+24 -254 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchDavid RientjesMichal HockoDavid Hildenbrand
1/4
2/4A-b A-b R-b
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [Patch v2 0/4] mm/page_alloc.c: cleanup on check page

The patch set does some cleanup related to check page.

1. Enable passing all bad reason to __dump_page()
2. Extract common part to check page
3. Remove unnecessary bad_reason assignment

Thanks suggestions from David Rientjes.

v2:
* merge two rename patches into extract patch
* enable dump several reasons for __dump_page()

Wei Yang (4):
mm: enable dump several reasons for __dump_page() mm/page_alloc.c: bad_[reason|flags] is not necessary when PageHWPoison mm/page_alloc.c: pass all bad reasons to bad_page() mm/page_alloc.c: extract commom part to check page

 include/linux/mmdebug.h |  2 +-
 mm/debug.c              | 11 +++---
 mm/page_alloc.c         | 87 +++++++++++++++++++++--------------------
 3 files changed, 51 insertions(+), 49 deletions(-)
Signature · 1 line
2.17.1