-
- Downloads
printf: remove %pGt support
Patch series "Increase the number of bits available in page_type". Kent wants more than 16 bits in page_type, so I resurrected this old patch and expanded it a bit. It's a bit more efficient than our current scheme (1 4-byte insn vs 3 insns of 13 bytes total) to test a single page type. This patch (of 4): An upcoming patch will convert page type from being a bitfield to a single byte, so we will not be able to use %pG to print the page type any more. The printing of the symbolic name will be restored in that patch. Link: https://lkml.kernel.org/r/20240821173914.2270383-1-willy@infradead.org Link: https://lkml.kernel.org/r/20240821173914.2270383-2-willy@infradead.org Signed-off-by:Matthew Wilcox (Oracle) <willy@infradead.org> Acked-by:
David Hildenbrand <david@redhat.com> Cc: Hyeonggon Yoo <42.hyeyoo@gmail.com> Cc: Kent Overstreet <kent.overstreet@linux.dev> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org>
Showing
- Documentation/core-api/printk-formats.rst 1 addition, 3 deletionsDocumentation/core-api/printk-formats.rst
- include/trace/events/mmflags.h 0 additions, 10 deletionsinclude/trace/events/mmflags.h
- lib/test_printf.c 0 additions, 26 deletionslib/test_printf.c
- lib/vsprintf.c 0 additions, 21 deletionslib/vsprintf.c
- mm/debug.c 1 addition, 1 deletionmm/debug.c
- mm/internal.h 0 additions, 1 deletionmm/internal.h
Loading
Please register or sign in to comment