]> git.baikalelectronics.ru Git - kernel.git/commit
HWPOISON: fix invalid page count in printk output
authorWu Fengguang <fengguang.wu@intel.com>
Mon, 19 Oct 2009 06:15:01 +0000 (08:15 +0200)
committerAndi Kleen <ak@linux.intel.com>
Mon, 19 Oct 2009 06:15:01 +0000 (08:15 +0200)
commit16cf51a3ee74d2f110003ac9b126c0c3f3dd788e
treeb1216354d6940b800128b224e2d801ed9232fa02
parentd983fe536313d4ed3e58e917f763ad4cbe2fff93
HWPOISON: fix invalid page count in printk output

The madvise injector already holds a reference when passing in a page
to the memory-failure code. The code corrects for this additional reference
for its checks, but the final printk output didn't. Fix that.

Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
mm/memory-failure.c