Skip to content
Commit 01e00f88 authored by Hugh Dickins's avatar Hugh Dickins Committed by Andi Kleen
Browse files

HWPOISON: fix oops on ksm pages



Memory failure on a KSM page currently oopses on its NULL anon_vma in
page_lock_anon_vma(): that may not be much worse than the consequence
of ignoring it, but it is better to be consistent with how ZERO_PAGE
and hugetlb pages and other awkward cases are treated.  Just skip it.

Signed-off-by: default avatarHugh Dickins <hugh.dickins@tiscali.co.uk>
Signed-off-by: default avatarAndi Kleen <ak@linux.intel.com>
parent 4779cb31
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