All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] mm: improve the output of print_page_info()
@ 2021-01-15  6:13 Yafang Shao
  2021-01-15  6:13 ` [PATCH 1/2] mm, slub: use pGp to print page flags Yafang Shao
  2021-01-15  6:13 ` [PATCH 2/2] mm: introduce PAGE_FLAGS() to make output of page flags better Yafang Shao
  0 siblings, 2 replies; 9+ messages in thread
From: Yafang Shao @ 2021-01-15  6:13 UTC (permalink / raw)
  To: cl, penberg, rientjes, iamjoonsoo.kim, akpm, willy, hannes,
	mhocko, david, osalvador, linmiaohe, steven.price, guro,
	alexander.h.duyck, ying.huang
  Cc: linux-mm, Yafang Shao

Before that patchset, the output of print_page_info() is
[ 6155.716018] INFO: Slab 0x000000004027dd4f objects=33 used=3 fp=0x000000008cd1579c flags=0x17ffffc0010200

While after it, the output is
[ 8843.757770] INFO: Slab 0x00000000f0e98335 objects=33 used=3 fp=0x00000000b643c7d8 flags=0x10200(slab|head)

The new one is more friendly and human readable.

Yafang Shao (2):
  mm, slub: use pGp to print page flags
  mm: introduce PAGE_FLAGS() to make output of page flags better

 include/linux/page-flags.h | 2 ++
 mm/slub.c                  | 5 +++--
 2 files changed, 5 insertions(+), 2 deletions(-)

-- 
1.8.3.1



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-01-15 10:17 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-15  6:13 [PATCH 0/2] mm: improve the output of print_page_info() Yafang Shao
2021-01-15  6:13 ` [PATCH 1/2] mm, slub: use pGp to print page flags Yafang Shao
2021-01-15  8:46   ` David Hildenbrand
2021-01-15 10:14     ` Yafang Shao
2021-01-15  6:13 ` [PATCH 2/2] mm: introduce PAGE_FLAGS() to make output of page flags better Yafang Shao
2021-01-15  8:39   ` David Hildenbrand
2021-01-15 10:10     ` Yafang Shao
2021-01-15 10:15       ` David Hildenbrand
2021-01-15 10:17         ` Yafang Shao

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.