The quilt patch titled Subject: selftest: mm: Test if hugepage does not get leaked during __bio_release_pages() has been removed from the -mm tree. Its filename was selftest-mm-test-if-hugepage-does-not-get-leaked-during-__bio_release_pages-v4.patch This patch was dropped because it was folded into selftest-mm-test-if-hugepage-does-not-get-leaked-during-__bio_release_pages.patch ------------------------------------------------------ From: Donet Tom <donettom@xxxxxxxxxxxxx> Subject: selftest: mm: Test if hugepage does not get leaked during __bio_release_pages() Date: Fri, 7 Jun 2024 13:20:00 -0500 add this test to run_vmtests.sh Link: https://lkml.kernel.org/r/20240607182000.6494-1-donettom@xxxxxxxxxxxxx Signed-off-by: Donet Tom <donettom@xxxxxxxxxxxxx> Co-developed-by: Ritesh Harjani (IBM) <ritesh.list@xxxxxxxxx> Signed-off-by: Ritesh Harjani (IBM) <ritesh.list@xxxxxxxxx> Reviewed-by: Muhammad Usama Anjum <usama.anjum@xxxxxxxxxxxxx> Cc: David Hildenbrand <david@xxxxxxxxxx> Cc: Jens Axboe <axboe@xxxxxxxxx> Cc: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx> Cc: Mike Rapoport (IBM) <rppt@xxxxxxxxxx> Cc: Muchun Song <songmuchun@xxxxxxxxxxxxx> Cc: Shuah Khan <shuah@xxxxxxxxxx> Cc: Tony Battersby <tonyb@xxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- tools/testing/selftests/mm/hugetlb_dio.c | 2 +- tools/testing/selftests/mm/run_vmtests.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) --- a/tools/testing/selftests/mm/hugetlb_dio.c~selftest-mm-test-if-hugepage-does-not-get-leaked-during-__bio_release_pages-v4 +++ a/tools/testing/selftests/mm/hugetlb_dio.c @@ -40,7 +40,7 @@ void run_dio_using_hugetlb(unsigned int ksft_exit_fail_msg("Unable to determine huge page size\n"); /* Open the file to DIO */ - fd = open("/tmp", O_TMPFILE | O_RDWR | O_DIRECT); + fd = open("/tmp", O_TMPFILE | O_RDWR | O_DIRECT, 0664); if (fd < 0) ksft_exit_fail_perror("Error opening file\n"); --- a/tools/testing/selftests/mm/run_vmtests.sh~selftest-mm-test-if-hugepage-does-not-get-leaked-during-__bio_release_pages-v4 +++ a/tools/testing/selftests/mm/run_vmtests.sh @@ -265,6 +265,7 @@ CATEGORY="hugetlb" run_test ./map_hugetl CATEGORY="hugetlb" run_test ./hugepage-mremap CATEGORY="hugetlb" run_test ./hugepage-vmemmap CATEGORY="hugetlb" run_test ./hugetlb-madvise +CATEGORY="hugetlb" run_test ./hugetlb_dio nr_hugepages_tmp=$(cat /proc/sys/vm/nr_hugepages) # For this test, we need one and just one huge page _ Patches currently in -mm which might be from donettom@xxxxxxxxxxxxx are selftest-mm-test-if-hugepage-does-not-get-leaked-during-__bio_release_pages.patch