]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
lib/show_mem.c: show num_poisoned_pages when oom
authorXishi Qiu <qiuxishi@huawei.com>
Tue, 21 Jan 2014 23:50:57 +0000 (15:50 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 22 Jan 2014 00:19:48 +0000 (16:19 -0800)
commit25487d73a9670d911530eee2e31c20889ba117db
tree2d9c814c47e2f72b342a5063699f26a881f02eaf
parent4883e997b26ed857da8dae6a6e6aeb12830b978d
lib/show_mem.c: show num_poisoned_pages when oom

Show num_poisoned_pages when oom, it is a little helpful to find the
reason.  Also it will be emitted anytime show_mem() is called.

Signed-off-by: Xishi Qiu <qiuxishi@huawei.com>
Suggested-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Acked-by: Michal Hocko <mhocko@suse.cz>
Acked-by: David Rientjes <rientjes@google.com>
Reviewed-by: Wanpeng Li <liwanp@linux.vnet.ibm.com>
Acked-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/show_mem.c