summaryrefslogtreecommitdiffstats
path: root/Documentation/virtual
diff options
context:
space:
mode:
authorNaoya Horiguchi <n-horiguchi@ah.jp.nec.com>2015-08-07 00:47:01 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2015-08-07 03:39:41 +0200
commita209ef09af0dc921311d0cc4a1d4f926321d91b8 (patch)
treead921af093f96d72501e5c776380c72b65fbe1ea /Documentation/virtual
parentmm/memory-failure: unlock_page before put_page (diff)
downloadlinux-a209ef09af0dc921311d0cc4a1d4f926321d91b8.tar.xz
linux-a209ef09af0dc921311d0cc4a1d4f926321d91b8.zip
mm/memory-failure: fix race in counting num_poisoned_pages
When memory_failure() is called on a page which are just freed after page migration from soft offlining, the counter num_poisoned_pages is raised twi= ce. So let's fix it with using TestSetPageHWPoison. Signed-off-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> Cc: Andi Kleen <andi@firstfloor.org> Cc: Dean Nelson <dnelson@redhat.com> Cc: Tony Luck <tony.luck@intel.com> Cc: "Kirill A. Shutemov" <kirill@shutemov.name> Cc: Hugh Dickins <hughd@google.com> Cc: David Rientjes <rientjes@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/virtual')
0 files changed, 0 insertions, 0 deletions