mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "David Hildenbrand (Arm)" <david@kernel.org>
To: Hugh Dickins <hughd@google.com>,
	 Baolin Wang <baolin.wang@linux.alibaba.com>,
	 Andrew Morton <akpm@linux-foundation.org>,
	Mike Rapoport <rppt@kernel.org>,  Peter Xu <peterx@redhat.com>,
	Michal Hocko <mhocko@suse.com>,  Kiryl Shutsemau <kas@kernel.org>,
	Manfred Spraul <manfred@colorfullife.com>,
	 Davidlohr Bueso <dave@stgolabs.net>,
	Cyrill Gorcunov <gorcunov@gmail.com>,  Zi Yan <ziy@nvidia.com>,
	"Liam R. Howlett" <liam@infradead.org>,
	 Nico Pache <nico.pache@linux.dev>,
	Ryan Roberts <ryan.roberts@arm.com>,  Dev Jain <dev.jain@arm.com>,
	Barry Song <baohua@kernel.org>,
	 Lance Yang <lance.yang@linux.dev>,
	Usama Arif <usama.arif@linux.dev>,
	 Lorenzo Stoakes <ljs@kernel.org>,
	Rik van Riel <riel@surriel.com>,
	 Vlastimil Babka <vbabka@kernel.org>,
	Harry Yoo <harry@kernel.org>,  Jann Horn <jannh@google.com>,
	Yang Shi <shy828301@gmail.com>,
	 Zach O'Keefe <zokeefe@google.com>, Song Liu <song@kernel.org>,
	 David Stevens <stevensd@chromium.org>,
	 Kefeng Wang <wangkefeng.wang@huawei.com>,
	 Alex Williamson <alex@shazbot.org>,
	Suren Baghdasaryan <surenb@google.com>,
	 Dave Jiang <dave.jiang@intel.com>,
	Matthew Wilcox <willy@infradead.org>,
	 Miaohe Lin <linmiaohe@huawei.com>,
	David Rientjes <rientjes@google.com>,
	 Shakeel Butt <shakeel.butt@linux.dev>, Jan Kara <jack@suse.cz>,
	 Mel Gorman <mgorman@suse.de>, Jason Gunthorpe <jgg@ziepe.ca>,
	 John Hubbard <jhubbard@nvidia.com>,
	Gerd Hoffmann <kraxel@redhat.com>,
	 Vivek Kasireddy <vivek.kasireddy@intel.com>,
	 Dave Airlie <airlied@redhat.com>,
	Matthew Brost <matthew.brost@intel.com>,
	 Joshua Hahn <joshua.hahnjy@gmail.com>,
	Byungchul Park <byungchul@sk.com>,
	 Gregory Price <gourry@gourry.net>,
	 Ying Huang <ying.huang@linux.alibaba.com>,
	 Alistair Popple <apopple@nvidia.com>,
	Hagen Paul Pfeifer <hagen@jauu.net>,
	 James Bottomley <James.Bottomley@HansenPartnership.com>,
	 Felix Kuehling <Felix.Kuehling@amd.com>,
	Alex Sierra <alex.sierra@amd.com>,
	 Balbir Singh <balbirs@nvidia.com>,
	Kairui Song <kasong@tencent.com>,  Qi Zheng <qi.zheng@linux.dev>,
	Axel Rasmussen <axelrasmussen@google.com>,
	 Yuanchu Xie <yuanchu@google.com>, Wei Xu <weixugc@google.com>,
	 Baoquan He <baoquan.he@linux.dev>,
	Oscar Salvador <osalvador@suse.de>,
	 Muchun Song <muchun.song@linux.dev>,
	Dan Williams <djbw@kernel.org>,  Rakie Kim <rakie.kim@sk.com>,
	Hao Li <hao.li@linux.dev>,  Christoph Lameter <cl@gentwo.org>,
	 Roman Gushchin <roman.gushchin@linux.dev>,
	 Sebastian Andrzej Siewior <bigeasy@linutronix.de>,
	 Clark Williams <clrkwllms@kernel.org>,
	Steven Rostedt <rostedt@goodmis.org>,
	 Alexei Starovoitov <ast@kernel.org>, Xu Xin <xu.xin@linux.dev>,
	 Chengming Zhou <chengming.zhou@linux.dev>,
	Shivank Garg <shivankg@amd.com>
Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org,
	 linux-fsdevel@vger.kernel.org, linux-cxl@vger.kernel.org,
	 linux-rt-devel@lists.linux.dev, SJ Park <sj@kernel.org>,
	 "David Hildenbrand (Arm)" <david@kernel.org>,
	 Chris Mason <mason@kernel.org>
Subject: [PATCH 18/32] mm: consistently check MMF_UNSTABLE when populating in CoW mappings
Date: Sun, 29 Nov 2026 11:06:49 +0100	[thread overview]
Message-ID: <20261129-fixes_core_3-v1-18-f66094116801@kernel.org> (raw)
In-Reply-To: <20261129-fixes_core_3-v1-0-f66094116801@kernel.org>

The OOM reaper and process_mrelease() zap private mappings of a target
MM, including CoW'ed anonymous folios. Re-populating these page table
entries is bad: it will look like a memory corruption to anybody still
accessing the MM. For example, a read fault could map a pagecache folio
where the process previously mapped a CoW'ed anon folio.

We must consistently disallow populating page table entries in CoW
mappings if MMF_UNSTABLE is set, and we must check under the page table
lock.

We are still missing checks when populating empty page table entries
in CoW mappings in:
- filemap_map_pages() (fault-around)
- do_set_pmd() (fault-around, MADV_COLLAPSE)
- the vmf_insert_*() helpers (fs DAX, drivers)
- UFFDIO_COPY, UFFDIO_ZEROPAGE, UFFDIO_CONTINUE and UFFDIO_MOVE

Let's fix it by adding these checks. To avoid duplicating code, add
vma_may_populate_pgtable() and document it properly. Also extend the
documentation of check_stable_address_space().

Also fix the check in finish_fault(), which must really happen under the
page table lock to handle races with the OOM reaping correctly.

After reaping, populating page table entries in CoW mappings now
consistently fails (e.g., with SIGBUS or -EFAULT).

At some point we should probably consistently just use
vma_may_populate_pgtable() when populating; also, we can think about
checking for the existence of an anon_vma instead of checking for CoW
mappings. We should also make __oom_reap_task_mm() check for
vma_is_cow_mapping() instead.

This has low urgency, as the target MM is about to go away anyway. No
need to CC stable.

Fixes: aac453635549 ("mm, oom: introduce oom reaper")
Reported-by: Chris Mason <mason@kernel.org>
Signed-off-by: David Hildenbrand (Arm) <david@kernel.org>
---
 include/linux/oom.h | 48 ++++++++++++++++++++++++++++++++++++++----------
 mm/filemap.c        |  9 +++++++++
 mm/huge_memory.c    | 14 ++++++++++++++
 mm/memory.c         | 30 ++++++++++++++++++++----------
 mm/userfaultfd.c    | 22 ++++++++++++++++++++++
 5 files changed, 103 insertions(+), 20 deletions(-)

diff --git a/include/linux/oom.h b/include/linux/oom.h
index 00da05d227e66..a3c16565160a5 100644
--- a/include/linux/oom.h
+++ b/include/linux/oom.h
@@ -76,18 +76,28 @@ static inline bool tsk_is_oom_victim(struct task_struct * tsk)
 	return tsk->signal->oom_mm;
 }
 
-/*
- * Checks whether a page fault on the given mm is still reliable.
- * This is no longer true if the oom reaper started to reap the
- * address space which is reflected by MMF_UNSTABLE flag set in
- * the mm. At that moment any !shared mapping would lose the content
- * and could cause a memory corruption (zero pages instead of the
- * original content).
+/**
+ * check_stable_address_space - check whether the address space of an mm is
+ *				still stable
+ * @mm: the mm to check
+ *
+ * Checks whether a page fault on the given mm is still reliable. This is no
+ * longer true once the OOM reaper or process_mrelease() started reaping the
+ * address space, which is reflected by MMF_UNSTABLE being set in the mm. At
+ * that moment, any CoW mapping might have lost content, and populating an
+ * empty page table entry could cause memory corruption (for example, zero
+ * pages instead of the original content).
+ *
+ * Before populating an empty page table entry, use
+ * vma_may_populate_pgtable(), which performs this check only for CoW
+ * mappings. Call this function directly only where the mapping is guaranteed
+ * to be a CoW mapping, such as a private anonymous mapping, or where the
+ * check does not relate to a specific mapping.
  *
- * User should call this before establishing a page table entry for
- * a !shared mapping and under the proper page table lock.
+ * When populating a page table entry, call this under the page table lock,
+ * after checking that the entry is empty and before populating it.
  *
- * Return 0 when the PF is safe VM_FAULT_SIGBUS otherwise.
+ * Return: 0 if the address space is stable, VM_FAULT_SIGBUS otherwise.
  */
 static inline vm_fault_t check_stable_address_space(struct mm_struct *mm)
 {
@@ -96,6 +106,24 @@ static inline vm_fault_t check_stable_address_space(struct mm_struct *mm)
 	return 0;
 }
 
+/**
+ * vma_may_populate_pgtable - check whether empty page table entries may be
+ *			      populated
+ * @vma: the VMA to check
+ *
+ * Like check_stable_address_space(), but only performs the check for CoW
+ * mappings, as only these may have lost CoW'ed anonymous folios.
+ *
+ * Return: true if the empty page table entries may be populated, false
+ * otherwise.
+ */
+static inline bool vma_may_populate_pgtable(struct vm_area_struct *vma)
+{
+	if (!vma_is_cow_mapping(vma))
+		return true;
+	return !check_stable_address_space(vma->vm_mm);
+}
+
 long oom_badness(struct task_struct *p,
 		unsigned long totalpages);
 
diff --git a/mm/filemap.c b/mm/filemap.c
index d730b0ea46678..963eb334dce82 100644
--- a/mm/filemap.c
+++ b/mm/filemap.c
@@ -49,6 +49,7 @@
 #include <linux/sched/mm.h>
 #include <linux/sysctl.h>
 #include <linux/pgalloc.h>
+#include <linux/oom.h>
 
 #include <asm/tlbflush.h>
 #include "internal.h"
@@ -3971,6 +3972,14 @@ vm_fault_t filemap_map_pages(struct vm_fault *vmf,
 		goto out;
 	}
 
+	if (unlikely(!vma_may_populate_pgtable(vma))) {
+		ret = VM_FAULT_SIGBUS;
+		pte_unmap_unlock(vmf->pte, vmf->ptl);
+		folio_unlock(folio);
+		folio_put(folio);
+		goto out;
+	}
+
 	folio_type = mm_counter_file(folio);
 	do {
 		unsigned long end;
diff --git a/mm/huge_memory.c b/mm/huge_memory.c
index 38b16333d3987..83906235c4df2 100644
--- a/mm/huge_memory.c
+++ b/mm/huge_memory.c
@@ -1661,6 +1661,11 @@ static vm_fault_t insert_pmd(struct vm_area_struct *vma, unsigned long addr,
 		goto out_unlock;
 	}
 
+	if (!vma_may_populate_pgtable(vma)) {
+		ret = VM_FAULT_SIGBUS;
+		goto out_unlock;
+	}
+
 	if (fop.is_folio) {
 		entry = folio_mk_pmd(fop.folio, vma->vm_page_prot);
 
@@ -1801,6 +1806,11 @@ static vm_fault_t insert_pud(struct vm_area_struct *vma, unsigned long addr,
 		goto out_unlock;
 	}
 
+	if (!vma_may_populate_pgtable(vma)) {
+		ret = VM_FAULT_SIGBUS;
+		goto out_unlock;
+	}
+
 	if (fop.is_folio) {
 		entry = folio_mk_pud(fop.folio, vma->vm_page_prot);
 
@@ -3019,6 +3029,10 @@ int move_pages_huge_pmd(struct mm_struct *mm, pmd_t *dst_pmd, pmd_t *src_pmd, pm
 		err = -EAGAIN;
 		goto unlock_ptls;
 	}
+	if (!vma_may_populate_pgtable(dst_vma)) {
+		err = -EFAULT;
+		goto unlock_ptls;
+	}
 	if (src_folio) {
 		if (folio_maybe_dma_pinned(src_folio) ||
 		    !PageAnonExclusive(&src_folio->page)) {
diff --git a/mm/memory.c b/mm/memory.c
index 7b0aeb102eff7..2b295a84069fc 100644
--- a/mm/memory.c
+++ b/mm/memory.c
@@ -2528,6 +2528,9 @@ static int insert_page_into_pte_locked(struct vm_area_struct *vma, pte_t *pte,
 		return 0;
 	}
 
+	if (!vma_may_populate_pgtable(vma))
+		return -EFAULT;
+
 	/* Ok, finally just insert the thing.. */
 	pteval = mk_pte(page, prot);
 	if (unlikely(is_zero_folio(folio))) {
@@ -2923,6 +2926,7 @@ static vm_fault_t insert_pfn(struct vm_area_struct *vma, unsigned long addr,
 			unsigned long pfn, pgprot_t prot)
 {
 	struct mm_struct *mm = vma->vm_mm;
+	vm_fault_t ret = VM_FAULT_NOPAGE;
 	pte_t *pte, entry;
 	spinlock_t *ptl;
 	int err;
@@ -2937,6 +2941,11 @@ static vm_fault_t insert_pfn(struct vm_area_struct *vma, unsigned long addr,
 	if (!pte_none(entry))
 		goto out_unlock;
 
+	if (!vma_may_populate_pgtable(vma)) {
+		ret = VM_FAULT_SIGBUS;
+		goto out_unlock;
+	}
+
 	/* Ok, finally just insert the thing.. */
 	entry = pte_mkspecial(pfn_pte(pfn, prot));
 
@@ -2945,7 +2954,7 @@ static vm_fault_t insert_pfn(struct vm_area_struct *vma, unsigned long addr,
 
 out_unlock:
 	pte_unmap_unlock(pte, ptl);
-	return VM_FAULT_NOPAGE;
+	return ret;
 }
 
 /**
@@ -5826,6 +5835,11 @@ vm_fault_t do_set_pmd(struct vm_fault *vmf, struct folio *folio, struct page *pa
 	if (unlikely(!pmd_none(*vmf->pmd)))
 		goto out;
 
+	if (!vma_may_populate_pgtable(vma)) {
+		ret = VM_FAULT_SIGBUS;
+		goto out;
+	}
+
 	flush_icache_pages(vma, page, HPAGE_PMD_NR);
 
 	entry = folio_mk_pmd(folio, vma->vm_page_prot);
@@ -5962,15 +5976,6 @@ vm_fault_t finish_fault(struct vm_fault *vmf)
 		page = vmf->page;
 
 	folio = page_folio(page);
-	/*
-	 * check even for read faults because we might have lost our CoWed
-	 * page
-	 */
-	if (!(vma->vm_flags & VM_SHARED)) {
-		ret = check_stable_address_space(vma->vm_mm);
-		if (ret)
-			return ret;
-	}
 
 	/* A poisoned page must take its own fault */
 	if (folio_contain_hwpoisoned_page(folio))
@@ -6050,6 +6055,11 @@ vm_fault_t finish_fault(struct vm_fault *vmf)
 		goto fallback;
 	}
 
+	if (!vma_may_populate_pgtable(vma)) {
+		ret = VM_FAULT_SIGBUS;
+		goto unlock;
+	}
+
 	if (!is_cow && unlikely(folio_ref_count_over_limit(folio))) {
 		ret = VM_FAULT_SIGBUS;
 		goto unlock;
diff --git a/mm/userfaultfd.c b/mm/userfaultfd.c
index 09e383370b48f..4da0c685aad44 100644
--- a/mm/userfaultfd.c
+++ b/mm/userfaultfd.c
@@ -32,6 +32,7 @@
 #include <linux/uio.h>
 #include <linux/file.h>
 #include <linux/cleanup.h>
+#include <linux/oom.h>
 #include <asm/tlbflush.h>
 #include <asm/tlb.h>
 #include "internal.h"
@@ -372,6 +373,11 @@ static int mfill_atomic_install_pte(pmd_t *dst_pmd,
 	if (!pte_none(dst_ptep) && !pte_is_uffd_marker(dst_ptep))
 		goto out_unlock;
 
+	if (!vma_may_populate_pgtable(dst_vma)) {
+		ret = -EFAULT;
+		goto out_unlock;
+	}
+
 	if (page_in_cache) {
 		if (unlikely(folio_ref_count_over_limit(folio))) {
 			ret = -ENOMEM;
@@ -653,6 +659,10 @@ static int mfill_atomic_pte_zeropage(struct mfill_state *state)
 	ret = -EEXIST;
 	if (!pte_none(ptep_get(dst_pte)))
 		goto out_unlock;
+	if (!vma_may_populate_pgtable(dst_vma)) {
+		ret = -EFAULT;
+		goto out_unlock;
+	}
 	set_pte_at(dst_vma->vm_mm, dst_addr, dst_pte, _dst_pte);
 	/* No need to invalidate - it was non-present before */
 	update_mmu_cache(dst_vma, dst_addr, dst_pte);
@@ -1288,6 +1298,10 @@ static long move_present_ptes(struct mm_struct *mm,
 		err = -EAGAIN;
 		goto out;
 	}
+	if (!vma_may_populate_pgtable(dst_vma)) {
+		err = -EFAULT;
+		goto out;
+	}
 	if (folio_test_large(src_folio) ||
 	    folio_maybe_dma_pinned(src_folio) ||
 	    !PageAnonExclusive(&src_folio->page)) {
@@ -1377,6 +1391,10 @@ static int move_swap_pte(struct mm_struct *mm, struct vm_area_struct *dst_vma,
 		double_pt_unlock(dst_ptl, src_ptl);
 		return -EAGAIN;
 	}
+	if (!vma_may_populate_pgtable(dst_vma)) {
+		double_pt_unlock(dst_ptl, src_ptl);
+		return -EFAULT;
+	}
 
 	/*
 	 * The src_folio resides in the swapcache, requiring an update to its
@@ -1432,6 +1450,10 @@ static int move_zeropage_pte(struct mm_struct *mm,
 		double_pt_unlock(dst_ptl, src_ptl);
 		return -EAGAIN;
 	}
+	if (!vma_may_populate_pgtable(dst_vma)) {
+		double_pt_unlock(dst_ptl, src_ptl);
+		return -EFAULT;
+	}
 
 	zero_pte = pte_mkspecial(pfn_pte(zero_pfn(dst_addr),
 					 dst_vma->vm_page_prot));

-- 
2.56.1


  parent reply	other threads:[~2026-11-29 10:12 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-29 10:06 [PATCH 00/32] mm: various (urgent?) fixes, part 3 David Hildenbrand (Arm)
2026-11-29 10:06 ` [PATCH 01/32] mm/shmem: count only the swapped pages in the requested range David Hildenbrand (Arm)
2026-11-29 10:06 ` [PATCH 02/32] mm/shmem: don't skip parts of a split swap entry when punching holes David Hildenbrand (Arm)
2026-11-29 10:06 ` [PATCH 03/32] mm/shmem: reject userfaultfd fills during hole punch David Hildenbrand (Arm)
2026-11-29 19:47   ` Jose A. Perez de Azpillaga
2026-11-29 10:06 ` [PATCH 04/32] mm/shmem: fix commit limit bypass with very large shmem sizes David Hildenbrand (Arm)
2026-11-29 10:06 ` [PATCH 05/32] mm/shmem: don't pin inodes with eviction held off in the huge shrinker David Hildenbrand (Arm)
2026-11-29 10:06 ` [PATCH 06/32] mm/shmem: seal the size of SysV and shared anon files David Hildenbrand (Arm)
2026-11-29 10:06 ` [PATCH 07/32] mm/khugepaged: check the VMA before walking page tables when collapsing David Hildenbrand (Arm)
2026-11-29 19:55   ` Jose A. Perez de Azpillaga
2026-11-29 10:06 ` [PATCH 08/32] mm/khugepaged: flush file after unlocking folios in collapse_file() David Hildenbrand (Arm)
2026-11-29 19:58   ` Jose A. Perez de Azpillaga
2026-11-29 10:06 ` [PATCH 09/32] mm/khugepaged: check for uffd outside the i_pages lock David Hildenbrand (Arm)
2026-11-29 20:07   ` Jose A. Perez de Azpillaga
2026-11-29 10:06 ` [PATCH 10/32] mm/khugepaged: don't wait for userfaultfd David Hildenbrand (Arm)
2026-11-29 20:16   ` Jose A. Perez de Azpillaga
2026-11-29 10:06 ` [PATCH 11/32] mm/khugepaged: store new folio before adding it to LRU David Hildenbrand (Arm)
2026-11-29 20:22   ` Jose A. Perez de Azpillaga
2026-11-29 10:06 ` [PATCH 12/32] mm/khugepaged: check PMD support with the folios locked David Hildenbrand (Arm)
2026-11-29 20:27   ` Jose A. Perez de Azpillaga
2026-11-29 10:06 ` [PATCH 13/32] mm/khugepaged: stop MADV_COLLAPSE on a fatal signal David Hildenbrand (Arm)
2026-11-29 20:29   ` Jose A. Perez de Azpillaga
2026-11-29 10:06 ` [PATCH 14/32] mm/huge_memory: split huge zero PMDs on unshare faults David Hildenbrand (Arm)
2026-11-29 20:33   ` Jose A. Perez de Azpillaga
2026-11-29 10:06 ` [PATCH 15/32] mm/huge_memory: don't map huge PFN entries if the arch restricts PFNs David Hildenbrand (Arm)
2026-11-29 20:41   ` Jose A. Perez de Azpillaga
2026-11-29 10:06 ` [PATCH 16/32] mm/memory: don't clear a PUD leaf as bad in a zap David Hildenbrand (Arm)
2026-11-29 20:47   ` Jose A. Perez de Azpillaga
2026-11-29 10:06 ` [PATCH 17/32] mm/memory: drop the swap device ref before do_wp_page() David Hildenbrand (Arm)
2026-11-29 20:50   ` Jose A. Perez de Azpillaga
2026-11-29 10:06 ` David Hildenbrand (Arm) [this message]
2026-11-29 20:58   ` [PATCH 18/32] mm: consistently check MMF_UNSTABLE when populating in CoW mappings Jose A. Perez de Azpillaga
2026-11-29 10:06 ` [PATCH 19/32] mm/gup: check for fatal signals in memfd_pin_folios() David Hildenbrand (Arm)
2026-11-29 10:06 ` [PATCH 20/32] mm/migrate_device: don't collect secretmem pages David Hildenbrand (Arm)
2026-11-29 10:06 ` [PATCH 21/32] mm/migrate_device: mark folios leaving device memory dirty David Hildenbrand (Arm)
2026-11-29 10:06 ` [PATCH 22/32] mm: taint device sections before setting subsections valid David Hildenbrand (Arm)
2026-11-29 10:06 ` [PATCH 23/32] mm/mempolicy: check access under exec_update_lock David Hildenbrand (Arm)
2026-11-29 10:06 ` [PATCH 24/32] mm/mempolicy: reject an empty set of allowed nodes David Hildenbrand (Arm)
2026-11-29 10:06 ` [PATCH 25/32] mm/mempolicy: don't wait for mems_allowed_seq in kmalloc_nolock() David Hildenbrand (Arm)
2026-11-29 21:27   ` Jose A. Perez de Azpillaga
2026-11-29 10:06 ` [PATCH 26/32] mm/ksm: look up the folio again in cmp_and_merge_page() David Hildenbrand (Arm)
2026-11-29 10:06 ` [PATCH 27/32] mm/ksm: copy KSM folios at swap-in without VM_MERGEABLE David Hildenbrand (Arm)
2026-11-29 10:06 ` [PATCH 28/32] mm/ksm: don't convert a shared anon folio into a KSM folio David Hildenbrand (Arm)
2026-11-29 10:07 ` [PATCH 29/32] mm/ksm: use a migration counter to detect KSM folio migration David Hildenbrand (Arm)
2026-11-29 10:07 ` [PATCH 30/32] mm/migrate: fix KSM oddity by checking expected refcount without mappings David Hildenbrand (Arm)
2026-11-29 10:07 ` [PATCH 31/32] mm/migrate_device: don't collect KSM folios David Hildenbrand (Arm)
2026-11-29 10:07 ` [PATCH 32/32] mm/migrate: use consistent folio locking logic David Hildenbrand (Arm)

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=20261129-fixes_core_3-v1-18-f66094116801@kernel.org \
    --to=david@kernel.org \
    --cc=Felix.Kuehling@amd.com \
    --cc=James.Bottomley@HansenPartnership.com \
    --cc=airlied@redhat.com \
    --cc=akpm@linux-foundation.org \
    --cc=alex.sierra@amd.com \
    --cc=alex@shazbot.org \
    --cc=apopple@nvidia.com \
    --cc=ast@kernel.org \
    --cc=axelrasmussen@google.com \
    --cc=balbirs@nvidia.com \
    --cc=baohua@kernel.org \
    --cc=baolin.wang@linux.alibaba.com \
    --cc=baoquan.he@linux.dev \
    --cc=bigeasy@linutronix.de \
    --cc=byungchul@sk.com \
    --cc=chengming.zhou@linux.dev \
    --cc=cl@gentwo.org \
    --cc=clrkwllms@kernel.org \
    --cc=dave.jiang@intel.com \
    --cc=dave@stgolabs.net \
    --cc=dev.jain@arm.com \
    --cc=djbw@kernel.org \
    --cc=gorcunov@gmail.com \
    --cc=gourry@gourry.net \
    --cc=hagen@jauu.net \
    --cc=hao.li@linux.dev \
    --cc=harry@kernel.org \
    --cc=hughd@google.com \
    --cc=jack@suse.cz \
    --cc=jannh@google.com \
    --cc=jgg@ziepe.ca \
    --cc=jhubbard@nvidia.com \
    --cc=joshua.hahnjy@gmail.com \
    --cc=kas@kernel.org \
    --cc=kasong@tencent.com \
    --cc=kraxel@redhat.com \
    --cc=lance.yang@linux.dev \
    --cc=liam@infradead.org \
    --cc=linmiaohe@huawei.com \
    --cc=linux-cxl@vger.kernel.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=linux-rt-devel@lists.linux.dev \
    --cc=ljs@kernel.org \
    --cc=manfred@colorfullife.com \
    --cc=mason@kernel.org \
    --cc=matthew.brost@intel.com \
    --cc=mgorman@suse.de \
    --cc=mhocko@suse.com \
    --cc=muchun.song@linux.dev \
    --cc=nico.pache@linux.dev \
    --cc=osalvador@suse.de \
    --cc=peterx@redhat.com \
    --cc=qi.zheng@linux.dev \
    --cc=rakie.kim@sk.com \
    --cc=riel@surriel.com \
    --cc=rientjes@google.com \
    --cc=roman.gushchin@linux.dev \
    --cc=rostedt@goodmis.org \
    --cc=rppt@kernel.org \
    --cc=ryan.roberts@arm.com \
    --cc=shakeel.butt@linux.dev \
    --cc=shivankg@amd.com \
    --cc=shy828301@gmail.com \
    --cc=sj@kernel.org \
    --cc=song@kernel.org \
    --cc=stevensd@chromium.org \
    --cc=surenb@google.com \
    --cc=usama.arif@linux.dev \
    --cc=vbabka@kernel.org \
    --cc=vivek.kasireddy@intel.com \
    --cc=wangkefeng.wang@huawei.com \
    --cc=weixugc@google.com \
    --cc=willy@infradead.org \
    --cc=xu.xin@linux.dev \
    --cc=ying.huang@linux.alibaba.com \
    --cc=yuanchu@google.com \
    --cc=ziy@nvidia.com \
    --cc=zokeefe@google.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®