move_pages12: add comment for a new regression
PATCH 1/1 move_pages12: add comment for a new regression
Signed-off-by Li Wang <[email protected]>
--- .../kernel/syscalls/move_pages/move_pages12.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+)
testcases/kernel/syscalls/move_pages/move_pages12.c +14 -0
@@ -25,6 +25,7 @@* mm/hugetlb: take page table lock in follow_huge_pmd() * * Test #2: +* #2.1: * This is a regression test for the race condition, where move_pages() * and soft offline are called on a single hugetlb page concurrently. *
@@ -36,6 +37,19 @@* * mm, hugetlb: use pte_present() instead of pmd_present() in * follow_huge_pmd() +* +* #2.2: +* This is also a regression test for an race condition causing SIGBUS +* in hugepage migration/fault. +* +* This bug was fixed by: +* +* commit 4643d67e8cb0b3536ef0ab5cddd1cedc73fa14ad +* Author: Mike Kravetz <[email protected]> +* Date: Tue Aug 13 15:38:00 2019 -0700 +* +* hugetlbfs: fix hugetlb page migration/fault race causing SIGBUS +* */ #include <errno.h>
Signature · 1 line
2.20.1