mbox series

[v2,0/5] Improvements to %pGp

Message ID 20211019142621.2810043-1-willy@infradead.org (mailing list archive)
Headers show
Series Improvements to %pGp | expand

Message

Matthew Wilcox (Oracle) Oct. 19, 2021, 2:26 p.m. UTC
The first four patches are improvements to page_flags_test().
The fifth is the patch I originally sent out which exposed some of
the weaknesses in page_flags_test().

v2:
 - use scnprintf (Rasmus)
 - remove page_flags variable (Kirill)

Matthew Wilcox (Oracle) (5):
  test_printf: Make pft array const
  test_printf: Remove separate page_flags variable
  test_printf: Remove custom appending of '|'
  test_printf: Append strings more efficiently
  vsprintf: Make %pGp print the hex value

 lib/test_printf.c   | 61 +++++++++++++++++++--------------------------
 lib/vsprintf.c      |  8 ++++++
 mm/debug.c          |  2 +-
 mm/memory-failure.c |  8 +++---
 mm/page_owner.c     |  4 +--
 mm/slub.c           |  4 +--
 6 files changed, 42 insertions(+), 45 deletions(-)

Comments

Petr Mladek Oct. 27, 2021, 12:09 p.m. UTC | #1
On Tue 2021-10-19 15:26:16, Matthew Wilcox (Oracle) wrote:
> The first four patches are improvements to page_flags_test().
> The fifth is the patch I originally sent out which exposed some of
> the weaknesses in page_flags_test().
> 
> v2:
>  - use scnprintf (Rasmus)
>  - remove page_flags variable (Kirill)
> 
> Matthew Wilcox (Oracle) (5):
>   test_printf: Make pft array const
>   test_printf: Remove separate page_flags variable
>   test_printf: Remove custom appending of '|'
>   test_printf: Append strings more efficiently
>   vsprintf: Make %pGp print the hex value
> 
>  lib/test_printf.c   | 61 +++++++++++++++++++--------------------------
>  lib/vsprintf.c      |  8 ++++++
>  mm/debug.c          |  2 +-
>  mm/memory-failure.c |  8 +++---
>  mm/page_owner.c     |  4 +--
>  mm/slub.c           |  4 +--
>  6 files changed, 42 insertions(+), 45 deletions(-)

The patchset has been committed into printk/linux.git,
branch for-5.16-vsprintf-pgp.

Best Regards,
Petr