diff options
author | Wu Fengguang <fengguang.wu@intel.com> | 2009-12-16 12:19:57 +0100 |
---|---|---|
committer | Andi Kleen <ak@linux.intel.com> | 2009-12-16 12:19:57 +0100 |
commit | bd1ce5f91f545730df4af492f774d9d32f5da3cb (patch) | |
tree | 7d25f35cda1f37e30fd21bb2375f2693837d5ec5 /kernel/async.c | |
parent | a7560fc80f33cab33176ee78f146df22b28e3338 (diff) | |
download | op-kernel-dev-bd1ce5f91f545730df4af492f774d9d32f5da3cb.zip op-kernel-dev-bd1ce5f91f545730df4af492f774d9d32f5da3cb.tar.gz |
HWPOISON: avoid grabbing the page count multiple times during madvise injection
If page is double referenced in madvise_hwpoison() and __memory_failure(),
remove_mapping() will fail because it expects page_count=2. Fix it by
not grabbing extra page count in __memory_failure().
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Diffstat (limited to 'kernel/async.c')
0 files changed, 0 insertions, 0 deletions