]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mm/debug: factor PagePoisoned out of __dump_page
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 29 Jun 2021 02:41:13 +0000 (19:41 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 Jun 2021 17:53:53 +0000 (10:53 -0700)
commitbe7c701fd42c2dd124ec5ce3493ec72e217738a8
tree94d1940edd62831a569185bb226fc3b880f7b65b
parent691d9497285a90346a67bfee5cac2007e5e18405
mm/debug: factor PagePoisoned out of __dump_page

Move the PagePoisoned test into dump_page().  Skip the hex print for
poisoned pages -- we know they're full of ffffffff.  Move the reason
printing from __dump_page() to dump_page().

Link: https://lkml.kernel.org/r/20210416231531.2521383-3-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Vlastimil Babka <vbabka@suse.cz>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Reviewed-by: William Kucharski <william.kucharski@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/debug.c