From: Brendan Jackman <jackmanb@google.com>
To: Borislav Petkov <bp@alien8.de>,
Dave Hansen <dave.hansen@linux.intel.com>,
Peter Zijlstra <peterz@infradead.org>,
Andrew Morton <akpm@linux-foundation.org>,
David Hildenbrand <david@kernel.org>,
Vlastimil Babka <vbabka@kernel.org>,
Mike Rapoport <rppt@kernel.org>, Wei Xu <weixugc@google.com>,
Johannes Weiner <hannes@cmpxchg.org>, Zi Yan <ziy@nvidia.com>,
Lorenzo Stoakes <ljs@kernel.org>
Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, x86@kernel.org,
rppt@kernel.org, Sumit Garg <sumit.garg@oss.qualcomm.com>,
Will Deacon <will@kernel.org>,
rientjes@google.com, "Kalyazin, Nikita" <kalyazin@amazon.co.uk>,
patrick.roy@linux.dev, "Itazuri, Takahiro" <itazur@amazon.co.uk>,
Andy Lutomirski <luto@kernel.org>,
David Kaplan <david.kaplan@amd.com>,
Thomas Gleixner <tglx@kernel.org>, Yosry Ahmed <yosry@kernel.org>,
Patrick Bellasi <derkling@google.com>,
Reiji Watanabe <reijiw@google.com>,
Sean Christopherson <seanjc@google.com>,
Brendan Jackman <jackmanb@google.com>
Subject: [PATCH v3 12/26] mm: KUnit tests for the mermap
Date: Sun, 26 Jul 2026 22:22:45 +0000 [thread overview]
Message-ID: <20260726-page_alloc-unmapped-v3-12-6f5729aa9832@google.com> (raw)
In-Reply-To: <20260726-page_alloc-unmapped-v3-0-6f5729aa9832@google.com>
Some simple smoke-tests for the mermap. Mainly aiming to test:
1. That there aren't any silly off-by-ones.
2. That the pagetables are not completely broken.
3. That the TLB appears to get flushed basically when expected.
This last point requires a bit of ifdeffery to detect when the flushing
has been performed.
Signed-off-by: Brendan Jackman <jackmanb@google.com>
---
include/linux/mermap_types.h | 3 +
mm/Kconfig | 11 ++
mm/Makefile | 1 +
mm/tests/mermap_kunit.c | 258 +++++++++++++++++++++++++++++++++++++++++++
4 files changed, 273 insertions(+)
diff --git a/include/linux/mermap_types.h b/include/linux/mermap_types.h
index c1c83b223c28d..13110fcb4c387 100644
--- a/include/linux/mermap_types.h
+++ b/include/linux/mermap_types.h
@@ -24,6 +24,9 @@ struct mermap_cpu {
unsigned long next_addr;
struct mermap_alloc normal_allocs[3];
struct mermap_alloc reserve_alloc;
+#if IS_ENABLED(CONFIG_MERMAP_KUNIT_TEST)
+ u64 tlb_flushes;
+#endif
};
struct mermap {
diff --git a/mm/Kconfig b/mm/Kconfig
index bf8c4c6264c73..adf71788971a2 100644
--- a/mm/Kconfig
+++ b/mm/Kconfig
@@ -1516,6 +1516,17 @@ config MERMAP
depends on ARCH_SUPPORTS_MERMAP
select MM_LOCAL_REGION
+config MERMAP_KUNIT_TEST
+ tristate "KUnit tests for the mermap" if !KUNIT_ALL_TESTS
+ depends on ARCH_SUPPORTS_MERMAP
+ depends on KUNIT
+ depends on MERMAP
+ default KUNIT_ALL_TESTS
+ help
+ KUnit test for the mermap.
+
+ If unsure, say N.
+
source "mm/damon/Kconfig"
endmenu
diff --git a/mm/Makefile b/mm/Makefile
index 9cf282c154104..3507cb7ed6a9a 100644
--- a/mm/Makefile
+++ b/mm/Makefile
@@ -148,3 +148,4 @@ obj-$(CONFIG_TMPFS_QUOTA) += shmem_quota.o
obj-$(CONFIG_LAZY_MMU_MODE_KUNIT_TEST) += tests/lazy_mmu_mode_kunit.o
obj-$(CONFIG_MEM_ALLOC_PROFILING) += alloc_tag.o
obj-$(CONFIG_MERMAP) += mermap.o
+obj-$(CONFIG_MERMAP_KUNIT_TEST) += tests/mermap_kunit.o
diff --git a/mm/tests/mermap_kunit.c b/mm/tests/mermap_kunit.c
new file mode 100644
index 0000000000000..737df7d84a340
--- /dev/null
+++ b/mm/tests/mermap_kunit.c
@@ -0,0 +1,258 @@
+// SPDX-License-Identifier: GPL-2.0-only
+#include <linux/cacheflush.h>
+#include <linux/kthread.h>
+#include <linux/mermap.h>
+#include <linux/pgtable.h>
+
+#include <kunit/test.h>
+
+#define NR_NORMAL_ALLOCS ARRAY_SIZE(((struct mm_struct *)NULL)->mermap.cpu->normal_allocs)
+
+KUNIT_DEFINE_ACTION_WRAPPER(__free_page_wrapper, __free_page, struct page *);
+
+static inline struct page *alloc_page_wrapper(struct kunit *test, gfp_t gfp)
+{
+ struct page *page = alloc_page(gfp);
+
+ KUNIT_ASSERT_NOT_NULL(test, page);
+ KUNIT_ASSERT_EQ(test, kunit_add_action_or_reset(test, __free_page_wrapper, page), 0);
+ return page;
+}
+
+KUNIT_DEFINE_ACTION_WRAPPER(mmput_wrapper, mmput, struct mm_struct *);
+
+static inline struct mm_struct *mm_alloc_wrapper(struct kunit *test)
+{
+ struct mm_struct *mm = mm_alloc();
+
+ KUNIT_ASSERT_NOT_NULL(test, mm);
+ KUNIT_ASSERT_EQ(test, kunit_add_action_or_reset(test, mmput_wrapper, mm), 0);
+ return mm;
+}
+
+static inline struct mm_struct *get_mm(struct kunit *test)
+{
+ struct mm_struct *mm = mm_alloc_wrapper(test);
+
+ KUNIT_ASSERT_EQ(test, mermap_mm_prepare(mm), 0);
+ return mm;
+}
+
+struct __mermap_put_args {
+ struct mm_struct *mm;
+ struct mermap_alloc *alloc;
+ unsigned long size;
+};
+
+static inline void __mermap_put_wrapper(void *ctx)
+{
+ struct __mermap_put_args *args = (struct __mermap_put_args *)ctx;
+
+ __mermap_put(args->mm, args->alloc);
+ mmdrop(args->mm);
+}
+
+/* Call __mermap_get() with use_reserve=false, deal with cleanup. */
+static inline struct __mermap_put_args *
+__mermap_get_wrapper(struct kunit *test, struct mm_struct *mm,
+ struct page *page, unsigned long size, pgprot_t prot)
+{
+ struct __mermap_put_args *args =
+ kunit_kmalloc(test, sizeof(struct __mermap_put_args), GFP_KERNEL);
+
+ KUNIT_ASSERT_NOT_NULL(test, args);
+ /*
+ * Grab reference to mm_struct/PGD to allow mermap_put() from the
+ * cleanup kthread.
+ */
+ mmgrab(mm);
+ args->mm = mm;
+ args->alloc = __mermap_get(mm, page, size, prot, false);
+ args->size = size;
+
+ if (args->alloc) {
+ int err = kunit_add_action_or_reset(test, __mermap_put_wrapper, args);
+
+ KUNIT_ASSERT_EQ(test, err, 0);
+ }
+
+ return args;
+}
+
+/* Do the cleanup from __mermap_get_wrapper, now. */
+static inline void __mermap_put_early(struct kunit *test, struct __mermap_put_args *args)
+{
+ kunit_release_action(test, __mermap_put_wrapper, args);
+}
+
+static void test_basic_alloc(struct kunit *test)
+{
+ struct page *page = alloc_page_wrapper(test, GFP_KERNEL);
+ struct mm_struct *mm = get_mm(test);
+ struct __mermap_put_args *args;
+
+ guard(migrate)();
+
+ args = __mermap_get_wrapper(test, mm, page, PAGE_SIZE, PAGE_KERNEL);
+ KUNIT_ASSERT_NOT_NULL(test, args->alloc);
+}
+
+/* Dumb check for off-by-ones. */
+static void test_size(struct kunit *test)
+{
+ struct page *page = alloc_page_wrapper(test, GFP_KERNEL);
+ struct __mermap_put_args *full, *large, *small, *fail;
+ struct mm_struct *mm = get_mm(test);
+ unsigned long region_size, large_size;
+ struct mermap_alloc *alloc;
+ int cpu;
+
+ guard(migrate)();
+ cpu = raw_smp_processor_id();
+ region_size = mermap_cpu_end(cpu) - mermap_cpu_base(cpu) - PAGE_SIZE;
+ large_size = region_size - PAGE_SIZE;
+
+ /* Allocate whole region at once. */
+ full = __mermap_get_wrapper(test, mm, page, region_size, PAGE_KERNEL);
+ KUNIT_ASSERT_NOT_NULL(test, full->alloc);
+ __mermap_put_early(test, full);
+
+ /* Allocate larger than region size. */
+ fail = __mermap_get_wrapper(test, mm, page, region_size + PAGE_SIZE, PAGE_KERNEL);
+ KUNIT_ASSERT_NULL(test, fail->alloc);
+
+ /* Tiptoe up to the edge then past it. */
+ large = __mermap_get_wrapper(test, mm, page, large_size, PAGE_KERNEL);
+ KUNIT_ASSERT_NOT_NULL(test, large->alloc);
+ small = __mermap_get_wrapper(test, mm, page, PAGE_SIZE, PAGE_KERNEL);
+ KUNIT_ASSERT_NOT_NULL(test, small->alloc);
+ fail = __mermap_get_wrapper(test, mm, page, PAGE_SIZE, PAGE_KERNEL);
+ KUNIT_ASSERT_NULL(test, fail->alloc);
+
+ /* Can still allocate the reserved page. */
+ local_irq_disable();
+ alloc = __mermap_get(mm, page, PAGE_SIZE, PAGE_KERNEL, true);
+ local_irq_enable();
+ KUNIT_ASSERT_NOT_NULL(test, alloc);
+ __mermap_put(mm, alloc);
+}
+
+static void test_multiple_allocs(struct kunit *test)
+{
+ struct __mermap_put_args *argss[NR_NORMAL_ALLOCS] = { };
+ struct page *pages[NR_NORMAL_ALLOCS + 1];
+ struct mermap_alloc *reserved_alloc;
+ struct mm_struct *mm = get_mm(test);
+ int magic = 0xE4A4;
+
+ for (int i = 0; i < ARRAY_SIZE(pages); i++) {
+ pages[i] = alloc_page_wrapper(test, GFP_KERNEL);
+ WRITE_ONCE(*(int *)page_to_virt(pages[i]), magic + i);
+ }
+
+ guard(migrate)();
+
+ for (int i = 0; i < ARRAY_SIZE(argss); i++) {
+ unsigned long base = mermap_cpu_base(raw_smp_processor_id());
+ unsigned long end = mermap_cpu_end(raw_smp_processor_id());
+ unsigned long addr;
+
+ argss[i] = __mermap_get_wrapper(test, mm, pages[i], PAGE_SIZE, PAGE_KERNEL);
+ KUNIT_ASSERT_NOT_NULL_MSG(test, argss[i]->alloc, "alloc %d failed", i);
+
+ addr = (unsigned long) mermap_addr(argss[i]->alloc);
+ KUNIT_EXPECT_GE_MSG(test, addr, base, "alloc %d out of range", i);
+ KUNIT_EXPECT_LT_MSG(test, addr, end, "alloc %d out of range", i);
+ }
+
+ /*
+ * Read through the mappings to try and detect if they point to the
+ * pages we wrote earlier.
+ */
+ kthread_use_mm(mm);
+ for (int i = 0; i < ARRAY_SIZE(pages) - 1; i++) {
+ int *ptr = (int *)mermap_addr(argss[i]->alloc);
+
+ KUNIT_EXPECT_EQ(test, *ptr, magic + i);
+ }
+
+ /* Run out of alloc structures, only reserved allocs should succeed now. */
+ KUNIT_EXPECT_NULL(test, __mermap_get(mm, pages[NR_NORMAL_ALLOCS],
+ PAGE_SIZE, PAGE_KERNEL, false));
+ preempt_disable();
+ reserved_alloc = __mermap_get(mm, pages[NR_NORMAL_ALLOCS],
+ PAGE_SIZE, PAGE_KERNEL, true);
+ KUNIT_EXPECT_NOT_NULL(test, reserved_alloc);
+ /* Also check if this mapping seems correct*/
+ if (reserved_alloc) {
+ int *ptr = (int *)mermap_addr(reserved_alloc);
+
+ KUNIT_EXPECT_EQ(test, *ptr, magic + NR_NORMAL_ALLOCS);
+
+ mermap_put(reserved_alloc);
+ }
+ preempt_enable();
+
+ kthread_unuse_mm(mm);
+}
+
+static void test_tlb_flushed(struct kunit *test)
+{
+ struct page *page = alloc_page_wrapper(test, GFP_KERNEL);
+ struct mm_struct *mm = get_mm(test);
+ unsigned long addr, prev_addr = 0;
+ /* Avoid running for ever in failure case. */
+ unsigned long max_iters = 1000000;
+ struct mermap_cpu *mc;
+
+ guard(migrate)();
+ mc = this_cpu_ptr(mm->mermap.cpu);
+
+ /*
+ * Allocate until we see an address less than what we had before - assume
+ * that means a reuse.
+ */
+ for (int i = 0; i < max_iters; i++) {
+ struct mermap_alloc *alloc;
+
+ /*
+ * Obviously flushing the TLB already is not wrong per se, but
+ * it's unexpected and probably means there's some bug.
+ * Use ASSERT to avoid spamming the log in the failure case.
+ */
+ KUNIT_ASSERT_EQ_MSG(test, mc->tlb_flushes, 0,
+ "unexpected flush before alloc %d", i);
+
+ alloc = __mermap_get(mm, page, PAGE_SIZE, PAGE_KERNEL, false);
+ KUNIT_ASSERT_NOT_NULL_MSG(test, alloc, "alloc %d failed", i);
+
+ addr = (unsigned long)mermap_addr(alloc);
+ __mermap_put(mm, alloc);
+ if (addr < prev_addr)
+ break;
+
+ prev_addr = addr;
+ cond_resched();
+ }
+ KUNIT_ASSERT_TRUE_MSG(test, addr < prev_addr, "no address reuse");
+ /* Again, more than one flush isn't wrong per se, but probably a bug. */
+ KUNIT_ASSERT_EQ(test, mc->tlb_flushes, 1);
+}
+
+static struct kunit_case mermap_test_cases[] = {
+ KUNIT_CASE(test_basic_alloc),
+ KUNIT_CASE(test_size),
+ KUNIT_CASE(test_multiple_allocs),
+ KUNIT_CASE(test_tlb_flushed),
+ {}
+};
+
+static struct kunit_suite mermap_test_suite = {
+ .name = "mermap",
+ .test_cases = mermap_test_cases,
+};
+kunit_test_suite(mermap_test_suite);
+
+MODULE_DESCRIPTION("Mermap unit tests");
+MODULE_LICENSE("GPL");
+MODULE_IMPORT_NS("EXPORTED_FOR_KUNIT_TESTING");
--
2.54.0
next prev parent reply other threads:[~2026-07-26 22:23 UTC|newest]
Thread overview: 120+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-26 22:22 [PATCH v3 00/26] mm: Add ALLOC_UNMAPPED and AS_NO_DIRECT_MAP Brendan Jackman
2026-07-26 22:22 ` [PATCH v3 01/26] set_memory: add folio_{zap,restore}_direct_map helpers Brendan Jackman
2026-07-27 10:33 ` Mike Rapoport
2026-07-29 11:42 ` Brendan Jackman
2026-07-30 20:34 ` Yosry Ahmed
2026-07-31 5:21 ` Mike Rapoport
2026-07-31 11:57 ` Brendan Jackman
2026-07-26 22:22 ` [PATCH v3 02/26] mm/secretmem: make use of folio_{zap,restore}_direct_map Brendan Jackman
2026-07-27 10:40 ` Mike Rapoport
2026-07-26 22:22 ` [PATCH v3 03/26] mm: introduce AS_NO_DIRECT_MAP Brendan Jackman
2026-07-30 21:06 ` Yosry Ahmed
2026-07-31 12:15 ` Brendan Jackman
2026-07-31 19:28 ` Yosry Ahmed
2026-08-07 0:02 ` Sean Christopherson
2026-08-07 0:13 ` Yosry Ahmed
2026-08-07 0:19 ` Sean Christopherson
2026-08-07 0:29 ` Yosry Ahmed
2026-08-07 14:26 ` Sean Christopherson
2026-08-07 18:12 ` Yosry Ahmed
2026-08-07 18:49 ` Sean Christopherson
2026-08-07 19:39 ` Yosry Ahmed
2026-08-07 22:44 ` Sean Christopherson
2026-08-07 22:48 ` Yosry Ahmed
2026-09-03 7:26 ` Takahiro Itazuri
2026-09-03 14:06 ` Yosry Ahmed
2026-09-03 14:25 ` Takahiro Itazuri
2026-09-15 16:01 ` Gregory Price
2026-10-05 20:11 ` Yosry Ahmed
2026-08-08 13:56 ` Brendan Jackman
2026-08-10 21:39 ` Yosry Ahmed
2026-08-10 21:46 ` Sean Christopherson
2026-08-13 15:32 ` Brendan Jackman
2026-08-13 17:25 ` Ackerley Tng
2026-08-18 0:32 ` Yosry Ahmed
2026-08-18 10:41 ` Brendan Jackman
2026-08-02 16:10 ` Mike Rapoport
2026-08-08 0:19 ` Yosry Ahmed
2026-07-26 22:22 ` [PATCH v3 04/26] x86/mm: split out preallocate_sub_pgd() Brendan Jackman
2026-07-31 22:10 ` Yosry Ahmed
2026-08-13 15:42 ` Brendan Jackman
2026-08-18 0:30 ` Yosry Ahmed
2026-08-02 16:13 ` Mike Rapoport
2026-08-13 15:46 ` Brendan Jackman
2026-07-26 22:22 ` [PATCH v3 05/26] x86: move PAE PMD preallocation defines to header Brendan Jackman
2026-07-31 23:59 ` Yosry Ahmed
2026-08-13 15:49 ` Brendan Jackman
2026-07-26 22:22 ` [PATCH v3 06/26] x86/tlb: Expose some flush function declarations to modules Brendan Jackman
2026-07-26 22:22 ` [PATCH v3 07/26] x86/mm: introduce mm-local region Brendan Jackman
2026-08-02 16:27 ` Mike Rapoport
2026-08-13 16:10 ` Brendan Jackman
2026-08-03 22:29 ` Yosry Ahmed
2026-08-13 16:23 ` Brendan Jackman
2026-07-26 22:22 ` [PATCH v3 08/26] x86/mm: move LDT remap into " Brendan Jackman
2026-08-03 22:33 ` Yosry Ahmed
2026-07-26 22:22 ` [PATCH v3 09/26] mm: Create flags arg for __apply_to_page_range() Brendan Jackman
2026-07-26 22:22 ` [PATCH v3 10/26] mm: Add more flags " Brendan Jackman
2026-08-04 0:08 ` Yosry Ahmed
2026-08-13 16:40 ` Brendan Jackman
2026-07-26 22:22 ` [PATCH v3 11/26] x86/mm: introduce the mermap Brendan Jackman
2026-08-02 16:40 ` Mike Rapoport
2026-08-13 16:44 ` Brendan Jackman
2026-08-04 18:38 ` Yosry Ahmed
2026-07-26 22:22 ` Brendan Jackman [this message]
2026-07-26 22:22 ` [PATCH v3 13/26] mm: introduce freetype_t Brendan Jackman
2026-08-04 22:23 ` Yosry Ahmed
2026-08-14 10:37 ` Brendan Jackman
2026-08-18 0:35 ` Yosry Ahmed
2026-09-03 8:00 ` Vlastimil Babka (SUSE)
2026-09-03 13:30 ` Yosry Ahmed
2026-08-04 23:02 ` Yosry Ahmed
2026-08-14 10:48 ` Brendan Jackman
2026-07-26 22:22 ` [PATCH v3 14/26] mm: move migratetype definitions to freetype.h Brendan Jackman
2026-07-26 22:22 ` [PATCH v3 15/26] mm/page_alloc: add support for freetypes with no freelist Brendan Jackman
2026-07-31 14:13 ` Vlastimil Babka (SUSE)
2026-07-26 22:22 ` [PATCH v3 16/26] mm: add definitions for allocating unmapped pages Brendan Jackman
2026-08-04 19:53 ` Yosry Ahmed
2026-08-14 11:22 ` Brendan Jackman
2026-07-26 22:22 ` [PATCH v3 17/26] mm: encode freetype flags in pageblock flags Brendan Jackman
2026-07-26 22:22 ` [PATCH v3 18/26] mm/page_alloc: separate pcplists by freetype flags Brendan Jackman
2026-07-26 22:22 ` [PATCH v3 19/26] mm/page_alloc: rename ALLOC_NON_BLOCK back to _HARDER Brendan Jackman
2026-07-31 14:52 ` Vlastimil Babka (SUSE)
2026-08-03 9:20 ` Vlastimil Babka (SUSE)
2026-08-04 21:50 ` Yosry Ahmed
2026-08-14 12:09 ` Brendan Jackman
2026-08-18 0:45 ` Yosry Ahmed
2026-08-18 10:58 ` Brendan Jackman
2026-07-26 22:22 ` [PATCH v3 20/26] mm/page_alloc: introduce ALLOC_NOBLOCK Brendan Jackman
2026-07-26 22:22 ` [PATCH v3 21/26] mm/page_alloc: implement FREETYPE_UNMAPPED allocations Brendan Jackman
2026-08-03 9:18 ` Vlastimil Babka (SUSE)
2026-08-15 14:12 ` Brendan Jackman
2026-08-04 23:41 ` Yosry Ahmed
2026-08-07 0:05 ` Yosry Ahmed
2026-08-14 12:31 ` Brendan Jackman
2026-08-04 23:53 ` Yosry Ahmed
2026-08-05 16:13 ` Yosry Ahmed
2026-08-15 14:28 ` Brendan Jackman
2026-08-18 0:55 ` Yosry Ahmed
2026-08-18 11:03 ` Brendan Jackman
2026-08-18 17:51 ` Yosry Ahmed
2026-08-25 20:01 ` Yosry Ahmed
2026-08-07 0:16 ` Yosry Ahmed
2026-08-15 14:30 ` Brendan Jackman
2026-08-18 0:50 ` Yosry Ahmed
2026-08-12 21:26 ` Yosry Ahmed
2026-08-15 14:43 ` Brendan Jackman
2026-08-18 0:49 ` Yosry Ahmed
2026-08-18 1:01 ` Yosry Ahmed
2026-07-26 22:22 ` [PATCH v3 22/26] mm: Minimal KUnit tests for some new page_alloc logic Brendan Jackman
2026-08-03 9:30 ` Vlastimil Babka (SUSE)
2026-07-26 22:22 ` [PATCH v3 23/26] mm: Split out NR_FREE_PAGES_BLOCKS_[UN]MAPPED Brendan Jackman
2026-08-03 9:32 ` Vlastimil Babka (SUSE)
2026-07-26 22:22 ` [PATCH v3 24/26] mm/page_alloc: always direct compact for unmapped allocs Brendan Jackman
2026-08-03 9:44 ` Vlastimil Babka (SUSE)
2026-08-15 14:44 ` Brendan Jackman
2026-08-06 23:29 ` Yosry Ahmed
2026-07-26 22:22 ` [PATCH v3 25/26] mm: plumb alloc flags into some alloc funcs Brendan Jackman
2026-08-03 9:52 ` Vlastimil Babka (SUSE)
2026-07-26 22:22 ` [PATCH v3 26/26] mm: add fast path for AS_NO_DIRECT_MAP Brendan Jackman
2026-08-08 0:06 ` Yosry Ahmed
2026-07-29 11:52 ` [PATCH v3 00/26] mm: Add ALLOC_UNMAPPED and AS_NO_DIRECT_MAP Brendan Jackman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260726-page_alloc-unmapped-v3-12-6f5729aa9832@google.com \
--to=jackmanb@google.com \
--cc=akpm@linux-foundation.org \
--cc=bp@alien8.de \
--cc=dave.hansen@linux.intel.com \
--cc=david.kaplan@amd.com \
--cc=david@kernel.org \
--cc=derkling@google.com \
--cc=hannes@cmpxchg.org \
--cc=itazur@amazon.co.uk \
--cc=kalyazin@amazon.co.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=ljs@kernel.org \
--cc=luto@kernel.org \
--cc=patrick.roy@linux.dev \
--cc=peterz@infradead.org \
--cc=reijiw@google.com \
--cc=rientjes@google.com \
--cc=rppt@kernel.org \
--cc=seanjc@google.com \
--cc=sumit.garg@oss.qualcomm.com \
--cc=tglx@kernel.org \
--cc=vbabka@kernel.org \
--cc=weixugc@google.com \
--cc=will@kernel.org \
--cc=x86@kernel.org \
--cc=yosry@kernel.org \
--cc=ziy@nvidia.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®