* [folded-merged] selftests-mm-add-folio_split-and-filemap_get_entry-race-test-v4.patch removed from -mm tree
@ 2026-03-26 1:42 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2026-03-26 1:42 UTC (permalink / raw)
To: mm-commits, willy, ryan.roberts, npache, ljs, liam.howlett,
lance.yang, hughd, dev.jain, david, bas, baolin.wang, baohua,
adam.bratschikaye, ziy, akpm
The quilt patch titled
Subject: selftests-mm-add-folio_split-and-filemap_get_entry-race-test-v4
has been removed from the -mm tree. Its filename was
selftests-mm-add-folio_split-and-filemap_get_entry-race-test-v4.patch
This patch was dropped because it was folded into selftests-mm-add-folio_split-and-filemap_get_entry-race-test.patch
------------------------------------------------------
From: Zi Yan <ziy@nvidia.com>
Subject: selftests-mm-add-folio_split-and-filemap_get_entry-race-test-v4
Date: Fri, 20 Mar 2026 10:22:19 -0400
1. fix loop stepping issue
2. use PRIu64 instead of %zu for uint64_t
Link: https://lore.kernel.org/all/CAKNNEtw5_kZomhkugedKMPOG-sxs5Q5OLumWJdiWXv+C9Yct0w@mail.gmail.com/ [1]
Link: https://github.com/dfinity/thp-madv-remove-test [2]
Link: https://lkml.kernel.org/r/20260320142219.375118-1-ziy@nvidia.com
Signed-off-by: Bas van Dijk <bas@dfinity.org>
Signed-off-by: Adam Bratschi-Kaye <adam.bratschikaye@dfinity.org>
Signed-off-by: Zi Yan <ziy@nvidia.com>
Cc: Baolin Wang <baolin.wang@linux.alibaba.com>
Cc: Barry Song <baohua@kernel.org>
Cc: David Hildenbrand <david@kernel.org>
Cc: Dev Jain <dev.jain@arm.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Lance Yang <lance.yang@linux.dev>
Cc: Liam Howlett <liam.howlett@oracle.com>
Cc: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Nico Pache <npache@redhat.com>
Cc: Ryan Roberts <ryan.roberts@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
tools/testing/selftests/mm/folio_split_race_test.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
--- a/tools/testing/selftests/mm/folio_split_race_test.c~selftests-mm-add-folio_split-and-filemap_get_entry-race-test-v4
+++ a/tools/testing/selftests/mm/folio_split_race_test.c
@@ -11,6 +11,7 @@
#define _GNU_SOURCE
#include <errno.h>
+#include <inttypes.h>
#include <linux/mman.h>
#include <pthread.h>
#include <stdatomic.h>
@@ -189,7 +190,7 @@ static size_t run_iteration(void)
i, errno);
}
- i += PUNCH_SIZE_FACTOR;
+ i += PUNCH_SIZE_FACTOR - 1;
}
atomic_store_explicit(&ctl.stop, 1, memory_order_release);
@@ -261,8 +262,8 @@ int main(void)
ksft_print_msg("folio split race test\n");
ksft_print_msg("===================================================\n");
- ksft_print_msg("Shmem size: %zu MiB\n", FILE_SIZE / 1024 / 1024);
- ksft_print_msg("Total pages: %zu\n", TOTAL_PAGES);
+ ksft_print_msg("Shmem size: %" PRIu64 " MiB\n", FILE_SIZE / 1024 / 1024);
+ ksft_print_msg("Total pages: %" PRIu64 "\n", TOTAL_PAGES);
ksft_print_msg("Child readers: %d\n", NUM_READER_THREADS);
ksft_print_msg("Punching every %dth to %dth page\n", PUNCH_INTERVAL,
PUNCH_INTERVAL + PUNCH_SIZE_FACTOR);
_
Patches currently in -mm which might be from ziy@nvidia.com are
selftests-mm-add-folio_split-and-filemap_get_entry-race-test.patch
selftests-mm-add-folio_split-and-filemap_get_entry-race-test-fix.patch
selftests-mm-add-folio_split-and-filemap_get_entry-race-test-fix-2.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-03-26 1:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-26 1:42 [folded-merged] selftests-mm-add-folio_split-and-filemap_get_entry-race-test-v4.patch removed from -mm tree Andrew Morton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.