summaryrefslogtreecommitdiffstats
path: root/ipc/sem.c
diff options
context:
space:
mode:
authorWanpeng Li2013-09-30 22:45:23 +0200
committerLinus Torvalds2013-09-30 23:31:02 +0200
commit2d421acd1568cf2d83739a1afec8e18edb9e3d16 (patch)
tree4c96dfcd9036bac702647259b804e752e29696d7 /ipc/sem.c
parentmm/hwpoison: fix test for a transparent huge page (diff)
downloadkernel-qcow2-linux-2d421acd1568cf2d83739a1afec8e18edb9e3d16.tar.gz
kernel-qcow2-linux-2d421acd1568cf2d83739a1afec8e18edb9e3d16.tar.xz
kernel-qcow2-linux-2d421acd1568cf2d83739a1afec8e18edb9e3d16.zip
mm/hwpoison: fix false report on 2nd attempt at page recovery
If the page is poisoned by software injection w/ MF_COUNT_INCREASED flag, there is a false report during the 2nd attempt at page recovery which is not truthful. This patch fixes it by reporting the first attempt to try free buddy page recovery if MF_COUNT_INCREASED is set. Before patch: [ 346.332041] Injecting memory failure at pfn 200010 [ 346.332189] MCE 0x200010: free buddy, 2nd try page recovery: Delayed After patch: [ 297.742600] Injecting memory failure at pfn 200010 [ 297.742941] MCE 0x200010: free buddy page recovery: Delayed Reviewed-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> Acked-by: Andi Kleen <ak@linux.intel.com> Signed-off-by: Wanpeng Li <liwanp@linux.vnet.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'ipc/sem.c')
0 files changed, 0 insertions, 0 deletions