aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpicoder.c
diff options
context:
space:
mode:
authorNaoya Horiguchi <[email protected]>2015-05-05 23:23:46 +0000
committerLinus Torvalds <[email protected]>2015-05-06 00:10:10 +0000
commit602498f9aa43d4951eece3fd6ad95a6d0a78d537 (patch)
tree0cf960b93d33ac4f3d27c6dd5b5af3856f7eadae /lib/mpi/mpicoder.c
parentrtc: add rtc-abx80x, a driver for the Abracon AB x80x i2c rtc (diff)
downloadkernel-602498f9aa43d4951eece3fd6ad95a6d0a78d537.tar.gz
kernel-602498f9aa43d4951eece3fd6ad95a6d0a78d537.zip
mm: soft-offline: fix num_poisoned_pages counting on concurrent events
If multiple soft offline events hit one free page/hugepage concurrently, soft_offline_page() can handle the free page/hugepage multiple times, which makes num_poisoned_pages counter increased more than once. This patch fixes this wrong counting by checking TestSetPageHWPoison for normal papes and by checking the return value of dequeue_hwpoisoned_huge_page() for hugepages. Signed-off-by: Naoya Horiguchi <[email protected]> Acked-by: Dean Nelson <[email protected]> Cc: Andi Kleen <[email protected]> Cc: <[email protected]> [3.14+] Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions