selftests-mm-add-tests-for-hwpoison-hugetlbfs-read.patch removed from -mm tree
The quilt patch titled
Subject: selftests/mm: add tests for HWPOISON hugetlbfs read
has been removed from the -mm tree. Its filename was
selftests-mm-add-tests-for-hwpoison-hugetlbfs-read.patch
This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Jiaqi Yan <[email protected]>
Subject: selftests/mm: add tests for HWPOISON hugetlbfs read
Date: Thu, 13 Jul 2023 00:18:33 +0000
Add tests for the improvement made to read operation on HWPOISON hugetlb page with different read granularities. For each chunk size, three read scenarios are tested:
1. Simple regression test on read without HWPOISON.
2. Sequential read page by page should succeed until encounters the 1st raw HWPOISON subpage.
3. After skip a raw HWPOISON subpage by lseek, read()s always succeed.
---
tools/testing/selftests/mm/.gitignore | 1 tools/testing/selftests/mm/Makefile | 1 tools/testing/selftests/mm/hugetlb-read-hwpoison.c | 322 +++++++++++ 3 files changed, 324 insertions(+)
tools/testing/selftests/mm/.gitignore renamed from tools/testing/selftests/mm/.gitignore~selftests-mm-add-tests-for-hwpoison-hugetlbfs-read +1 -0
@@ -5,6 +5,7 @@ hugepage-mremap hugepage-shm hugepage-vmemmap hugetlb-madvise +hugetlb-read-hwpoison khugepaged map_hugetlb map_populate
tools/testing/selftests/mm/hugetlb-read-hwpoison.c new file +322 -0
322 lines not on this page · raw message
tools/testing/selftests/mm/Makefile renamed from tools/testing/selftests/mm/Makefile~selftests-mm-add-tests-for-hwpoison-hugetlbfs-read +1 -0
@@ -41,6 +41,7 @@ TEST_GEN_PROGS += gup_longterm TEST_GEN_PROGS += gup_test TEST_GEN_PROGS += hmm-tests TEST_GEN_PROGS += hugetlb-madvise +TEST_GEN_PROGS += hugetlb-read-hwpoison TEST_GEN_PROGS += hugepage-mmap TEST_GEN_PROGS += hugepage-mremap TEST_GEN_PROGS += hugepage-shm
_
Patches currently in -mm which might be from [email protected] are
mm-hwpoison-rename-hwp_walk-to-hwpoison_walk.patch