From: mpenttil@redhat.com
To: linux-mm@kvack.org
Cc: dri-devel@lists.freedesktop.org, intel-xe@lists.freedesktop.org,
linux-kernel@vger.kernel.org,
"Mika Penttilä" <mpenttil@redhat.com>,
"David Hildenbrand" <david@kernel.org>,
"Jason Gunthorpe" <jgg@nvidia.com>,
"Leon Romanovsky" <leonro@nvidia.com>,
"Alistair Popple" <apopple@nvidia.com>,
"Balbir Singh" <balbirs@nvidia.com>, "Zi Yan" <ziy@nvidia.com>,
"Matthew Brost" <matthew.brost@intel.com>,
"Andrew Morton" <akpm@linux-foundation.org>,
"Lorenzo Stoakes" <ljs@kernel.org>,
"Liam R. Howlett" <liam@infradead.org>,
"Vlastimil Babka" <vbabka@kernel.org>,
"Mike Rapoport" <rppt@kernel.org>,
"Michal Hocko" <mhocko@suse.com>, "Lyude Paul" <lyude@redhat.com>,
"Danilo Krummrich" <dakr@kernel.org>,
"Jonathan Corbet" <corbet@lwn.net>,
"Shuah Khan" <shuah@kernel.org>,
"Madhavan Srinivasan" <maddy@linux.ibm.com>
Subject: [PATCH v18 06/14] mm/hmm: migrate collection in HMM pagewalk - pte level
Date: Tue, 1 Dec 2026 06:55:23 +0200 [thread overview]
Message-ID: <20261201045531.3622535-7-mpenttil@redhat.com> (raw)
In-Reply-To: <20261201045531.3622535-1-mpenttil@redhat.com>
From: Mika Penttilä <mpenttil@redhat.com>
Implement the needed hmm_vma_handle_migrate_prepare() function
which is mostly carried over from migrate_device.c's
migrate_vma_collect_pmd() function.
Also implement hmm_migrate_split_folio(), for splitting pte mapped large
folios. Compared with migrate_vma_split_folio() in migrate_device.c it
takes the folio reference before dropping the page table lock, only
trylocks the folio, and splits the fault folio at the fault page with
split_huge_page(), so the caller's lock and reference stay on the folio
holding the fault page. The old migrate_vma_collect*() code is removed
once migration switches over to the HMM pagewalk, later in the series.
As in the pending "mm/migrate_device: do not migrate a uffd-protected
zero page", a zero page whose uffd state would be lost is not collected.
As in Chris Mason's pending fix for migrate_vma_collect_pmd(), a KSM
folio is not collected: KSM maps a KSM folio before rmap walks can find
the mapping, so rmap_walk_ksm() may miss the pte when restoring the
migration entry, leaving a stale one behind.
With HMM pagewalk based migration, the idea is that
hmm_vma_handle_*() are responsible for faulting,
and the pfn collecting part. hmm_vma_handle_migrate_prepare*()
do the migration decisions (with HMM_PFN_MIGRATE), possibly split
folios, and insert migration ptes/pmds.
Collected folios stay locked while hmm_range_fault() may still fault
other pages of the range. This cannot deadlock: only anonymous folios
are collected, so no page cache or invalidate_lock ordering is involved,
and when the walk faults it collects only folios mapped by this process
alone (PageAnonExclusive), besides the fault folio. A folio shared with
another process (e.g. after fork) could be reached through that mapping
by another faulting walk, which would sleep on our folio lock while we
may sleep on its, so it is left as reported. A write fault breaks the
sharing first, so only read faults leave shared folios in place; that is
the price of faulting in the same walk. An exclusive folio is reachable
only through our migration entry, and walks waiting on each other's
migration entries can't form a cycle: a walk stops when it records a
fault, so it holds only what it collected before the check that led to
the fault, and a walk that finds another walk's migration entry leaves
it without waiting, so every wait goes to a walk that checked later (see
hmm_migrate_collectable()). Only the faulting pte is faulted, never our
own entries, and when faulting a swapcache folio still referenced by
other swap entries is not collected. The walk itself only trylocks folio
locks, also before splitting a folio. Reclaim and direct compaction
under the fault only trylock folio locks too.
When the pte lock has to be dropped to split a folio, the pmd may change
under us, so the walk re-reads it and continues at the current address,
as migrate_vma_setup() has always done: a changed pmd is handled for the
whole range, and entries collected before that address stay collected
and are released by finalize if their migration ptes are gone. When
locking or splitting a folio fails, the rest of the pmd is not walked
further, also as before.
HMM pagewalk based migration is enabled in later commit, for
now hmm_select_migrate() returns MIGRATE_VMA_SELECT_NONE.
Cc: David Hildenbrand <david@kernel.org>
Cc: Jason Gunthorpe <jgg@nvidia.com>
Cc: Leon Romanovsky <leonro@nvidia.com>
Cc: Alistair Popple <apopple@nvidia.com>
Cc: Balbir Singh <balbirs@nvidia.com>
Cc: Zi Yan <ziy@nvidia.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Suggested-by: Alistair Popple <apopple@nvidia.com>
Signed-off-by: Mika Penttilä <mpenttil@redhat.com>
---
mm/hmm.c | 380 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 377 insertions(+), 3 deletions(-)
diff --git a/mm/hmm.c b/mm/hmm.c
index 273d0e364fd7..359ed7c16f29 100644
--- a/mm/hmm.c
+++ b/mm/hmm.c
@@ -73,6 +73,19 @@ struct hmm_vma_walk {
*/
#define HMM_FAULT_UNLOCKED -ENOLCK
+/*
+ * Internal results of hmm_vma_handle_migrate_prepare(), consumed by
+ * hmm_vma_walk_pmd() and never propagated. Both mean the pte lock was
+ * dropped: HMM_MIGRATE_REWALK after splitting a large folio, so the pmd
+ * range is walked again; HMM_MIGRATE_SKIP when a large folio can't be
+ * locked or split, so the rest of the pmd range is skipped (best effort).
+ */
+#define HMM_MIGRATE_REWALK 1
+#define HMM_MIGRATE_SKIP 2
+
+#define HMM_ASSERT_PTE_LOCKED(hmm_vma_walk, locked) \
+ WARN_ON_ONCE((hmm_vma_walk)->ptelocked != (locked))
+
#define HMM_ASSERT_UNLOCKED(hmm_vma_walk) \
WARN_ON_ONCE((hmm_vma_walk)->ptelocked || \
(hmm_vma_walk)->pmdlocked)
@@ -555,6 +568,75 @@ static int hmm_vma_handle_absent_pmd(struct mm_walk *walk, unsigned long start,
#endif /* CONFIG_ARCH_HAS_PMD_SOFTLEAVES */
#ifdef CONFIG_DEVICE_MIGRATION
+/**
+ * __hmm_migrate_split_folio() - split a locked folio for migration
+ * @folio: the folio to split, locked and referenced by the caller
+ * @fault_page: fault page if any
+ *
+ * The fault folio is split at @fault_page, so the caller's lock and reference
+ * stay on the folio containing @fault_page. For any other folio our lock and
+ * reference are dropped, whether or not the split succeeds.
+ *
+ * Return: 0 on success, or the split_huge_page() / split_folio() error.
+ */
+static int __hmm_migrate_split_folio(struct folio *folio,
+ struct page *fault_page)
+{
+ int ret;
+
+ if (fault_page && folio == page_folio(fault_page))
+ return split_huge_page(fault_page);
+
+ /* Found large under the page table lock and locked since: still large */
+ ret = folio_test_large(folio) ? split_folio(folio) : 0;
+ folio_unlock(folio);
+ folio_put(folio);
+ return ret;
+}
+
+/**
+ * hmm_migrate_split_folio() - drop the pte lock and split a THP folio
+ * @folio: the folio to split
+ * @fault_page: struct page associated with the fault if any
+ * @hmm_vma_walk: walk in progress
+ * @ptep: pte_t * for unmap and unlock ptl
+ *
+ * Always drops the pte lock associated with @ptep.
+ *
+ * Return: 0 on success, -EBUSY if the folio is locked by someone else, or the
+ * split_huge_page() / split_folio() error.
+ */
+static int hmm_migrate_split_folio(struct folio *folio,
+ struct page *fault_page,
+ struct hmm_vma_walk *hmm_vma_walk,
+ pte_t *ptep)
+{
+ struct folio *fault_folio = fault_page ? page_folio(fault_page) : NULL;
+ bool locked = true;
+
+ /*
+ * Take the reference while still holding the PTE lock, so the folio
+ * cannot be freed once the lock is dropped. As at collection, only
+ * trylock: other collected folios may be held locked, so sleeping
+ * here could deadlock. A busy folio is just not migrated. The fault
+ * folio is already referenced and locked by do_swap_page().
+ */
+ if (folio != fault_folio) {
+ folio_get(folio);
+ locked = folio_trylock(folio);
+ }
+
+ pte_unmap_unlock(ptep, hmm_vma_walk->ptl);
+ hmm_vma_walk->ptelocked = false;
+
+ if (!locked) {
+ folio_put(folio);
+ return -EBUSY;
+ }
+
+ return __hmm_migrate_split_folio(folio, fault_page);
+}
+
/*
* Due to dropping ptl locks for splitting for instance, would we
* overwrite already collected pfns? This could happen when pmd
@@ -603,6 +685,29 @@ static void hmm_vma_handle_migrate_prepare_rollback(const struct hmm_vma_walk *h
}
}
+/*
+ * Collected folios stay locked while hmm_range_fault() faults other pages
+ * of the range. When faulting, collect only the fault folio and folios
+ * mapped by this process alone (PageAnonExclusive): a shared folio can be
+ * reached by another faulting walk, which would sleep on our lock while we
+ * sleep on its. A write fault breaks the sharing first, so only read faults
+ * on still shared pages (after fork, or KSM) leave them in place: a rare,
+ * deliberate trade-off.
+ *
+ * An exclusive folio is reachable only through our migration entry, and
+ * waits on those can't form a cycle: a walk stops when it records a fault
+ * and leaves other walks' entries alone, so every wait goes to a walk that
+ * checked later.
+ */
+static bool hmm_migrate_collectable(const struct hmm_range *range,
+ struct page *page,
+ struct folio *fault_folio)
+{
+ if (!(range->default_flags & HMM_PFN_REQ_FAULT))
+ return true;
+ return page_folio(page) == fault_folio || PageAnonExclusive(page);
+}
+
static int hmm_vma_handle_migrate_prepare_pmd(const struct mm_walk *walk,
pmd_t *pmdp,
unsigned long start,
@@ -613,6 +718,10 @@ static int hmm_vma_handle_migrate_prepare_pmd(const struct mm_walk *walk,
return 0;
}
+/*
+ * Install migration entries if migration requested, either from fault
+ * or migrate paths.
+ */
static int hmm_vma_handle_migrate_prepare(const struct mm_walk *walk,
pmd_t *pmdp,
pte_t *ptep,
@@ -620,8 +729,240 @@ static int hmm_vma_handle_migrate_prepare(const struct mm_walk *walk,
unsigned long *hmm_pfn,
bool *unmapped)
{
- /* Collection is implemented by later patches */
+ struct hmm_vma_walk *hmm_vma_walk = walk->private;
+ struct hmm_range *range = hmm_vma_walk->range;
+ struct migrate_vma *migrate = range->migrate;
+ struct mm_struct *mm = walk->vma->vm_mm;
+ struct folio *fault_folio = NULL;
+ enum migrate_vma_info minfo;
+ struct dev_pagemap *pgmap;
+ bool anon_exclusive;
+ struct folio *folio;
+ unsigned long pfn;
+ struct page *page;
+ softleaf_t entry;
+ pte_t pte, swp_pte;
+ bool writable = false;
+
+ /* Do we want to migrate at all? */
+ minfo = hmm_select_migrate(range);
+ if (!minfo)
+ return 0;
+
+ HMM_ASSERT_PTE_LOCKED(hmm_vma_walk, true);
+
+ fault_folio = migrate->fault_page ?
+ page_folio(migrate->fault_page) : NULL;
+
+ pte = ptep_get(ptep);
+
+ if (pte_none(pte)) {
+ if (vma_is_anonymous(walk->vma)) {
+ *hmm_pfn &= HMM_PFN_INOUT_FLAGS;
+ *hmm_pfn |= HMM_PFN_MIGRATE;
+ goto out;
+ }
+ }
+
+ /*
+ * NUMA hinting (protnone) entries are not reported valid, but the
+ * page can still be migrated as is.
+ */
+ if (!(hmm_pfn[0] & HMM_PFN_VALID) &&
+ !(pte_present(pte) && pte_protnone(pte)))
+ goto out;
+
+ if (!pte_present(pte)) {
+ /*
+ * Only care about unaddressable device page special
+ * page table entry. Other special swap entries are not
+ * migratable, and we ignore regular swapped page.
+ */
+ entry = softleaf_from_pte(pte);
+ if (!softleaf_is_device_private(entry))
+ goto out;
+
+ if (!(minfo & MIGRATE_VMA_SELECT_DEVICE_PRIVATE))
+ goto out;
+
+ page = softleaf_to_page(entry);
+ folio = page_folio(page);
+ if (folio->pgmap->owner != migrate->pgmap_owner)
+ goto out;
+
+ pfn = page_to_pfn(page);
+ if (softleaf_is_device_private_write(entry))
+ writable = true;
+ } else {
+ pfn = pte_pfn(pte);
+ if (is_zero_pfn(pfn) &&
+ (minfo & MIGRATE_VMA_SELECT_SYSTEM)) {
+ /* Like pte_none(): only anonymous memory can be populated */
+ if (!vma_is_anonymous(walk->vma))
+ goto out;
+ /* Nothing carries the uffd state of the zero page over */
+ if (userfaultfd_protected(walk->vma) && pte_uffd(pte))
+ goto out;
+ *hmm_pfn &= HMM_PFN_INOUT_FLAGS;
+ *hmm_pfn |= HMM_PFN_MIGRATE;
+ goto out;
+ }
+ page = vm_normal_page(walk->vma, addr, pte);
+ if (page && !is_zone_device_page(page) &&
+ !(minfo & MIGRATE_VMA_SELECT_SYSTEM)) {
+ goto out;
+ } else if (page && is_device_coherent_page(page)) {
+ pgmap = page_pgmap(page);
+
+ if (!(minfo &
+ MIGRATE_VMA_SELECT_DEVICE_COHERENT) ||
+ pgmap->owner != migrate->pgmap_owner)
+ goto out;
+ }
+
+ folio = page ? page_folio(page) : NULL;
+ /*
+ * Only anonymous memory can be migrated to device memory.
+ * Check before splitting.
+ */
+ if (!folio || !folio_test_anon(folio))
+ goto out;
+
+ writable = pte_write(pte);
+ }
+
+ if (!hmm_migrate_collectable(range, page, fault_folio))
+ goto out;
+ if (folio_test_large(folio)) {
+ int ret;
+
+ ret = hmm_migrate_split_folio(folio, migrate->fault_page,
+ hmm_vma_walk, ptep);
+ if (ret)
+ goto out_skip;
+ return HMM_MIGRATE_REWALK;
+ }
+
+ /*
+ * By getting a reference on the folio we pin it and that blocks
+ * any kind of migration. Side effect is that it "freezes" the
+ * pte.
+ *
+ * We drop this reference after isolating the folio from the lru
+ * for non device folio (device folio are not on the lru and thus
+ * can't be dropped from it).
+ */
+ folio = page_folio(page);
+ folio_get(folio);
+
+ /*
+ * We rely on folio_trylock() to avoid deadlock between
+ * concurrent migrations where each is waiting on the others
+ * folio lock. If we can't immediately lock the folio we fail this
+ * migration as it is only best effort anyway.
+ *
+ * If we can lock the folio it's safe to set up a migration entry
+ * now. In the common case where the folio is mapped once in a
+ * single process setting up the migration entry now is an
+ * optimisation to avoid walking the rmap later with
+ * try_to_migrate().
+ */
+
+ if (fault_folio == folio || folio_trylock(folio)) {
+ /*
+ * When faulting, a swapcache folio still referenced by other
+ * swap entries isn't collected: faulting one of those entries
+ * later in the walk, with no retry allowed, would block on the
+ * lock we hold. It couldn't be migrated anyway (see
+ * __migrate_device_pages()). Without faulting the swap cache is
+ * left alone here and freed only when the folio is migrated.
+ */
+ if ((range->default_flags & HMM_PFN_REQ_FAULT) &&
+ folio_test_swapcache(folio) && !folio_free_swap(folio)) {
+ if (fault_folio != folio)
+ folio_unlock(folio);
+ folio_put(folio);
+ goto out;
+ }
+
+ /*
+ * rmap_walk_ksm() may not find this pte to restore the
+ * migration entry later.
+ */
+ if (folio_test_ksm(folio)) {
+ if (fault_folio != folio)
+ folio_unlock(folio);
+ folio_put(folio);
+ goto out;
+ }
+
+ anon_exclusive = folio_test_anon(folio) &&
+ PageAnonExclusive(page);
+
+ if (pte_present(pte))
+ flush_cache_page(walk->vma, addr, pfn);
+
+ if (anon_exclusive) {
+ pte = ptep_clear_flush(walk->vma, addr, ptep);
+
+ if (folio_try_share_anon_rmap_pte(folio, page)) {
+ set_pte_at(mm, addr, ptep, pte);
+ if (fault_folio != folio)
+ folio_unlock(folio);
+ folio_put(folio);
+ goto out;
+ }
+ } else {
+ pte = ptep_get_and_clear(mm, addr, ptep);
+ }
+
+ if (pte_present(pte) && pte_dirty(pte))
+ folio_mark_dirty(folio);
+
+ /* Setup special migration page table entry */
+ if (writable)
+ entry = make_writable_migration_entry(pfn);
+ else if (anon_exclusive)
+ entry = make_readable_exclusive_migration_entry(pfn);
+ else
+ entry = make_readable_migration_entry(pfn);
+
+ if (pte_present(pte)) {
+ if (pte_young(pte))
+ entry = make_migration_entry_young(entry);
+ if (pte_dirty(pte))
+ entry = make_migration_entry_dirty(entry);
+ }
+
+ swp_pte = swp_entry_to_pte(entry);
+ if (pte_present(pte)) {
+ if (pte_soft_dirty(pte))
+ swp_pte = pte_swp_mksoft_dirty(swp_pte);
+ if (pte_uffd(pte))
+ swp_pte = pte_swp_mkuffd(swp_pte);
+ } else {
+ if (pte_swp_soft_dirty(pte))
+ swp_pte = pte_swp_mksoft_dirty(swp_pte);
+ if (pte_swp_uffd(pte))
+ swp_pte = pte_swp_mkuffd(swp_pte);
+ }
+
+ set_pte_at(mm, addr, ptep, swp_pte);
+ folio_remove_rmap_pte(folio, page, walk->vma);
+ folio_put(folio);
+ *hmm_pfn |= HMM_PFN_VALID | HMM_PFN_MIGRATE;
+ if (writable)
+ *hmm_pfn |= HMM_PFN_WRITE;
+ if (pte_present(pte))
+ *unmapped = true;
+ } else {
+ folio_put(folio);
+ }
+out:
return 0;
+out_skip:
+ /* Lock or split failed: the caller skips the rest of the pmd (best effort) */
+ return HMM_MIGRATE_SKIP;
}
#else
@@ -880,6 +1221,7 @@ static int hmm_vma_walk_pmd(pmd_t *pmdp,
} else {
ptep = pte_offset_map(pmdp, addr);
}
+ /* The pte table is gone: re-read the pmd and continue at addr */
if (!ptep)
goto again;
@@ -893,8 +1235,40 @@ static int hmm_vma_walk_pmd(pmd_t *pmdp,
return r;
}
- /* Collection is added by later patches: a no-op until then */
- hmm_vma_handle_migrate_prepare(walk, pmdp, ptep, addr, hmm_pfns, &unmapped);
+ r = hmm_vma_handle_migrate_prepare(walk, pmdp, ptep, addr, hmm_pfns, &unmapped);
+ if (r == HMM_MIGRATE_REWALK) {
+ HMM_ASSERT_UNLOCKED(hmm_vma_walk);
+ if (unmapped) {
+ flush_tlb_range(walk->vma, start, addr);
+ unmapped = false;
+ }
+ /*
+ * The pte lock was dropped and the pmd may have changed:
+ * re-read it and continue at addr, as migrate_vma_setup()
+ * has always done. A changed pmd is handled for the whole
+ * range. Entries collected before addr are not revisited:
+ * if their migration ptes are gone meanwhile, finalize
+ * releases them (see
+ * hmm_vma_handle_migrate_prepare_rollback()).
+ */
+ goto again;
+ }
+ if (r == HMM_MIGRATE_SKIP) {
+ /*
+ * Locking or splitting the folio failed, and the split
+ * helper already dropped the PTE lock. addr keeps its
+ * valid pfn. The rest of the pmd range is not walked
+ * further, as migrate_vma_setup() has always done:
+ * entries there keep what an earlier pass wrote, and
+ * entries already collected stay collected. When
+ * migrating, collection and faulting are best effort
+ * (see hmm_range_fault()).
+ */
+ HMM_ASSERT_UNLOCKED(hmm_vma_walk);
+ if (unmapped)
+ flush_tlb_range(walk->vma, start, addr);
+ return 0;
+ }
}
if (unmapped)
--
2.55.0
next prev parent reply other threads:[~2026-12-01 4:56 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-01 4:55 [PATCH v18 00/14] migrate on fault for device pages mpenttil
2026-12-01 4:55 ` [PATCH v18 01/14] mm/Kconfig: changes for " mpenttil
2026-12-01 4:55 ` [PATCH v18 02/14] mm: add helper to convert HMM pfn to migrate pfn mpenttil
2026-12-01 4:55 ` [PATCH v18 03/14] mm/hmm: preparations for HMM to participate in migration mpenttil
2026-12-01 4:55 ` [PATCH v18 04/14] mm/hmm: do the plumbing " mpenttil
2026-12-01 4:55 ` [PATCH v18 05/14] mm/hmm: implement rollback for device page migration in HMM pagewalk mpenttil
2026-12-01 4:55 ` mpenttil [this message]
2026-12-01 4:55 ` [PATCH v18 07/14] mm/hmm: migrate collection in HMM pagewalk - pmd level mpenttil
2026-12-01 4:55 ` [PATCH v18 08/14] mm/hmm: add lazy MMU mode support for migration in HMM pagewalk mpenttil
2026-12-01 4:55 ` [PATCH v18 09/14] mm: enable device page migration from " mpenttil
2026-12-01 4:55 ` [PATCH v18 10/14] lib/test_hmm: add a new testcase for the migrate on fault mpenttil
2026-12-01 4:55 ` [PATCH v18 11/14] Documentation/mm/hmm: document migration through hmm_range_fault() mpenttil
2026-12-01 4:55 ` [PATCH v18 12/14] drm/nouveau/dmem: serialize the copy channel users mpenttil
2026-12-01 4:55 ` [PATCH v18 13/14] drm/nouveau/dmem: commit migrate_to_ram() only after the copy is confirmed mpenttil
2026-12-01 4:55 ` [PATCH v18 14/14] drm/nouveau/svm: add support for migrate on fault mpenttil
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=20261201045531.3622535-7-mpenttil@redhat.com \
--to=mpenttil@redhat.com \
--cc=akpm@linux-foundation.org \
--cc=apopple@nvidia.com \
--cc=balbirs@nvidia.com \
--cc=corbet@lwn.net \
--cc=dakr@kernel.org \
--cc=david@kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=intel-xe@lists.freedesktop.org \
--cc=jgg@nvidia.com \
--cc=leonro@nvidia.com \
--cc=liam@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=ljs@kernel.org \
--cc=lyude@redhat.com \
--cc=maddy@linux.ibm.com \
--cc=matthew.brost@intel.com \
--cc=mhocko@suse.com \
--cc=rppt@kernel.org \
--cc=shuah@kernel.org \
--cc=vbabka@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