]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Revert "mm/memory-failure.c: fix race with changing page compound again"
authorNaoya Horiguchi <naoya.horiguchi@nec.com>
Thu, 14 Apr 2022 06:07:11 +0000 (23:07 -0700)
committerakpm <akpm@linux-foundation.org>
Thu, 14 Apr 2022 06:07:11 +0000 (23:07 -0700)
commitc4c769f3585f6d89ef87c698abf8b3db455e56fd
treee6c35f68fdfef0f3c7ee2f870e730e8d7977e243
parent79dbf1d7290401a508cd727965dce38f44df2db7
Revert "mm/memory-failure.c: fix race with changing page compound again"

Reverts commit 888af2701db7 ("mm/memory-failure.c: fix race with changing
page compound again") because now we fetch the page refcount under
hugetlb_lock in try_memory_failure_hugetlb() so that the race check is no
longer necessary.

Link: https://lkml.kernel.org/r/20220408135323.1559401-4-naoya.horiguchi@linux.dev
Signed-off-by: Naoya Horiguchi <naoya.horiguchi@nec.com>
Suggested-by: Miaohe Lin <linmiaohe@huawei.com>
Reviewed-by: Miaohe Lin <linmiaohe@huawei.com>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Miaohe Lin <linmiaohe@huawei.com>
Cc: Yang Shi <shy828301@gmail.com>
Cc: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/mm.h
include/ras/ras_event.h
mm/memory-failure.c