Skip to content

mm, printk: introduce new format for page_type

Hyeonggon Yoo linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v4 Latest3 patches 5 repliesIn review 2 of 3 applied

Changes in v4 from the cover letter

- dropped patch 1 ("mm/hwpoison: remove MF_MSG_SLAB from action_page_types") and patch 2 ("mm: move PG_slab flag to page_type") from previous spin as they are planned as separate series

- adjusted comments from Andy Shevchenko [1] and Petr Mladek [2]

- added patch 1 ("mmflags.h: use less error prone method to define pageflag_names") for consistency with patch 2 ("mm, printk: introduce new format %pGt for page_type"), as suggested by Andy Shevchenko [1]

[1] https://lore.kernel.org/lkml/[email protected]/
[2] https://lore.kernel.org/lkml/Y6HSutM8pmoKxQWp@alley/

Patches in v4 2 of 3 applied

#Subject and filesSizeRepliesApplied
1/3mmflags.h: use less error prone method to define pageflag_namesinclude/trace/events/mmflags.h+44 -414 replies
2/3mm, printk: introduce new format %pGt for page_typeDocumentation/core-api/printk-formats.rst include/linux/page-flags.h include/trace/events/mmflags.h +4 more+78 -61 replyApplied
3/3mm/debug: use %pGt to display page_type in dump_page()mm/debug.c+2 -00 repliesApplied

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchAndy ShevchenkoPetr Mladek
1/3R-b
2/3R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH mm-unstable v4 0/3] mm, printk: introduce new format for page_type

RFC v3:
https://lore.kernel.org/lkml/[email protected]

This series was originally part of "move PG_slab to page_type" series, but printk format implementation for page_type is separated to this series.

RFC v3 -> v4:
- dropped patch 1 ("mm/hwpoison: remove MF_MSG_SLAB from action_page_types") and patch 2 ("mm: move PG_slab flag to page_type") from previous spin as they are planned as separate series

- adjusted comments from Andy Shevchenko [1] and Petr Mladek [2]

- added patch 1 ("mmflags.h: use less error prone method to define pageflag_names") for consistency with patch 2 ("mm, printk: introduce new format %pGt for page_type"), as suggested by Andy Shevchenko [1]

[1] https://lore.kernel.org/lkml/[email protected]/
[2] https://lore.kernel.org/lkml/Y6HSutM8pmoKxQWp@alley/

Based on mm-unstable (ede43f2956cc "kasan: fix Oops due to missing calls to kasan_arch_is_rea()") as there are recent changes in mmflags.h.

Hyeonggon Yoo (3):
mmflags.h: use less error prone method to define pageflag_names mm, printk: introduce new format %pGt for page_type mm/debug: use %pGt to display page_type in dump_page()

 Documentation/core-api/printk-formats.rst | 16 ++--
 include/linux/page-flags.h                |  7 +-
 include/trace/events/mmflags.h            | 93 +++++++++++++----------
 lib/test_printf.c                         | 26 +++++++
 lib/vsprintf.c                            | 21 +++++
 mm/debug.c                                |  7 ++
 mm/internal.h                             |  1 +
 7 files changed, 124 insertions(+), 47 deletions(-)
Signature · 1 line
2.39.1