diff options
author | 2023-07-11 13:50:15 +0800 | |
---|---|---|
committer | 2023-08-18 10:12:20 -0700 | |
commit | a363d1224b5add67a7cafab9fdb9f19d569fbe98 (patch) | |
tree | 00a830b85aebed85d2916d1d9ec9259def94ec57 /mm/page_ext.c | |
parent | mm: memory-failure: minor cleanup for comments and codestyle (diff) | |
download | wireguard-linux-a363d1224b5add67a7cafab9fdb9f19d569fbe98.tar.xz wireguard-linux-a363d1224b5add67a7cafab9fdb9f19d569fbe98.zip |
mm: memory-failure: fetch compound head after extra page refcnt is held
Page might become thp, huge page or being splited after compound head is
fetched but before page refcnt is bumped. So hpage might be a tail page
leading to VM_BUG_ON_PAGE(PageTail(page)) in PageTransHuge().
Link: https://lkml.kernel.org/r/20230711055016.2286677-8-linmiaohe@huawei.com
Fixes: 415c64c1453a ("mm/memory-failure: split thp earlier in memory error handling")
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Acked-by: Naoya Horiguchi <naoya.horiguchi@nec.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/page_ext.c')
0 files changed, 0 insertions, 0 deletions