]> Git Repo - linux.git/commit
mm/debug.c: always print flags in dump_page()
authorVlastimil Babka <[email protected]>
Fri, 31 Jan 2020 06:12:03 +0000 (22:12 -0800)
committerLinus Torvalds <[email protected]>
Fri, 31 Jan 2020 18:30:36 +0000 (10:30 -0800)
commit5b57b8f22709f07c0ab5921c94fd66e8c59c3e11
tree9f78f04794b2d67b34c05de021747ab5d545f627
parent8c96f1bc6fc49c724c4cdd22d3e99260263b7384
mm/debug.c: always print flags in dump_page()

Commit 76a1850e4572 ("mm/debug.c: __dump_page() prints an extra line")
inadvertently removed printing of page flags for pages that are neither
anon nor ksm nor have a mapping.  Fix that.

Using pr_cont() again would be a solution, but the commit explicitly
removed its use.  Avoiding the danger of mixing up split lines from
multiple CPUs might be beneficial for near-panic dumps like this, so fix
this without reintroducing pr_cont().

Link: http://lkml.kernel.org/r/[email protected]
Fixes: 76a1850e4572 ("mm/debug.c: __dump_page() prints an extra line")
Signed-off-by: Vlastimil Babka <[email protected]>
Reported-by: Anshuman Khandual <[email protected]>
Reported-by: Michal Hocko <[email protected]>
Acked-by: Michal Hocko <[email protected]>
Cc: David Hildenbrand <[email protected]>
Cc: Qian Cai <[email protected]>
Cc: Oscar Salvador <[email protected]>
Cc: Mel Gorman <[email protected]>
Cc: Mike Rapoport <[email protected]>
Cc: Dan Williams <[email protected]>
Cc: Pavel Tatashin <[email protected]>
Cc: Ralph Campbell <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/debug.c
This page took 0.058059 seconds and 4 git commands to generate.