RFC move PG_slab flag to page_type
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 RFC Latest4 patches 19 repliesIn review
- v2 RFC3 patches 11 repliesSuperseded
- v11 patch 7 repliesSuperseded
Changes in v3 from the cover letter
- dropped show_page_types() in a thought that it is not interesting to track refcount of non-usermapped pages.
- added patch 1 that cleans up MF_MSG_SLAB in hwpoison
- split implementation and application of %pGt to separate patches.
- instead of printing "no page_type for ..." in %pGt, just print '0x<value>()' for a page that does not use page_type field.
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | mm/hwpoison: remove MF_MSG_SLAB from action_page_typesmm/ | +0 | 4 replies | |
| 2/4 | mm: move PG_slab flag to page_typefs/ include/ include/ +4 more | +98 | 9 replies | |
| 3/4 | mm, printk: introduce new format %pGt for page_typeDocumentation/ include/ lib/ +3 more | +62 | 6 replies | |
| 4/4 | mm/debug: use %pGt to print page_type in dump_page()mm/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [RFC v3 0/4] move PG_slab flag to page_type
RFC v2:
https://lore.kernel.org/linux-mm/[email protected]/
This patch series moves PG_slab page flag to page_type, freeing one bit in page->flags and introduces %pGt format that prints human-readable page_type like %pGp for printing page flags.
See changelog of patch 2 for more implementation details.
Thanks everyone that gave valuable comments.
v2 -> v3:
- dropped show_page_types() in a thought that it is not interesting to track refcount of non-usermapped pages.
- added patch 1 that cleans up MF_MSG_SLAB in hwpoison
- split implementation and application of %pGt to separate patches.
- instead of printing "no page_type for ..." in %pGt, just print '0x<value>()' for a page that does not use page_type field.
Hyeonggon Yoo (4):
mm/hwpoison: remove MF_MSG_SLAB from action_page_types
mm: move PG_slab flag to page_type
mm, printk: introduce new format %pGt for page_type mm/debug: use %pGt to print page_type in dump_page()
Documentation/core-api/printk-formats.rst | 3 +- fs/proc/page.c | 13 ++-- include/linux/mm_types.h | 11 ++-- include/linux/page-flags.h | 77 ++++++++++++++++------- include/trace/events/mmflags.h | 8 ++- kernel/crash_core.c | 3 +- lib/test_printf.c | 26 ++++++++ lib/vsprintf.c | 21 +++++++ mm/debug.c | 7 +++ mm/internal.h | 1 + mm/memory-failure.c | 10 --- mm/slab.c | 44 ++++++++----- mm/slab.h | 3 +- 13 files changed, 162 insertions(+), 65 deletions(-)
Signature · 1 line
2.32.0