Skip to content
Commit 4779cb31 authored by Andi Kleen's avatar Andi Kleen
Browse files

HWPOISON: Fix page count leak in hwpoison late kill in do_swap_page



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: default avatarAndi Kleen <ak@linux.intel.com>
parent e43c3afb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment