HWPOISON: Fix page count leak in hwpoison late kill in do_swap_page
authorAndi Kleen <ak@linux.intel.com>
Tue, 13 Oct 2009 23:51:41 +0000 (01:51 +0200)
committerAndi Kleen <ak@linux.intel.com>
Mon, 19 Oct 2009 05:29:20 +0000 (07:29 +0200)
When returning due to a poisoned page drop the page count.

It wasn't a fatal problem because noone cares about the page count
on a poisoned page (except when it wraps), but it's cleaner to fix it.

Pointed out by Linus.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
mm/memory.c

diff --cc mm/memory.c
Simple merge