Skip to contentSkip to conversation

memfd-based Userspace MFR Policy for HugeTLB

PATCH In review Jiaqi Yan 4 participants 10 messages Nov 15 – Nov 28

Subsystems (10)
lore
Share & tools
lore

Jiaqi Yan

author
#0 lore raw

v4 cover memfd-based Userspace MFR Policy for HugeTLB

Note: I understand mm is in "firefighting mode" this cycle [6] and prioritizes fixes over new features, so there is no rush on this series. I'm happy to wait until things settle down, and can rebase and resend if that's easier.

Problem
=======

This patchset is a follow-up for the userspace memory failure recovery (MFR) policy proposed in [1] and [2], but focused on a smaller scope: HugeTLB.

To recap the problem for HugeTLB discussed in [1] and [2]:
Cloud providers like Google and Oracle usually serve capacity- and performance-critical guest memory with 1G HugeTLB hugepages, as this significantly reduces the overhead associated with managing page tables and TLB misses. However, the kernel's current MFR behavior for HugeTLB is not ideal. Once a byte of memory in a hugepage is hardware corrupted, the kernel discards the whole hugepage, including the healthy portion, from the HugeTLB system. Customer workload running in the VM can hardly recover from such a great loss of memory.

[1] and [2] proposed the idea that the decision to keep or discard a large chunk of contiguous memory exclusively owned by a userspace process due to a recoverable uncorrected memory error (UE) should be controlled by userspace. What this means in the Cloud case is that, since a virtual machine monitor (VMM) has taken host memory to exclusively back the guest memory for a VM, the VMM can keep holding the memory even after memory errors occur.

MFD_MF_KEEP_UE_MAPPED for HugeTLB
=================================

[2] proposed a solution centered around the memfd associated with the memory exclusively owned by userspace.

A userspace process must opt into the MFD_MF_KEEP_UE_MAPPED policy when it creates a new HugeTLB-backed memfd:

#define MFD_MF_KEEP_UE_MAPPED 0x0020U
int memfd_create(const char *name, unsigned int flags);

For any hugepage associated with the MFD_MF_KEEP_UE_MAPPED enabled memfd, whenever it runs into a UE, MFR doesn't hard offline the HWPoison huge folio. In other words, the HWPoison memory remains accessible via the returned memfd or the memory mapping created with that memfd. MFR still sends SIGBUS to the userspace process as required, with si_addr_lsb set to PAGE_SHIFT. MFR also still maintains HWPoison metadata on the hugepage having the UE.

A HWPoison hugepage is dissolved once userspace truncates it or punches a hole on it via the memfd, or the owning memfd is finally released. Its healthy raw pages go back to the buddy allocator, while its HWPoison raw pages are isolated.

MFD_MF_KEEP_UE_MAPPED works with MFD_ALLOW_SEALING, and file seals work as usual. For example, the owner of a base image can seal the memfd and then share it with MAP_PRIVATE. A sealed memfd that blocks truncate and hole punch only dissolves its HWPoison hugepage when it is finally released.

By default MFD_MF_KEEP_UE_MAPPED is not set, and MFR hard offlines hugepages having UEs.

Implementation
==============

Part 1: When hugepages owned by an MFD_MF_KEEP_UE_MAPPED enabled memfd run into a UE:

* MFR defers hard offline operations, i.e., unmapping and dissolving. MFR still sets the HWPoison flag, records the raw HWPoison page in the folio's raw_hwp_list, and sends SIGBUS to the consuming thread with si_addr_lsb reduced to PAGE_SHIFT. The result is reported as MF_DELAYED.

* MFR doesn't hold any refcount on the hugepage after memory_failure() returns; the page cache keeps the hugepage alive. Every memory_failure() on such a hugepage takes exactly one refcount, and me_huge_page() drops it. Since the 1st error clears the hugepage's migratable flag, get_huge_page_for_hwpoison() treats an already HWPoison hugepage of an MFD_MF_KEEP_UE_MAPPED memfd as in use, so that the 2nd and later errors are handled the same as the 1st.

* If the memory was not faulted in yet, the fault handler also allows faulting in the HWPoison folio.

Part 2: When an MFD_MF_KEEP_UE_MAPPED enabled memfd is being released, or when a userspace process truncates or punches holes in its hugepages:

* When the HugeTLB in-memory file system removes the filemap's folios one by one, it asks MFR to deal with HWPoison folios on the fly, implemented by filemap_offline_hwpoison_folio().

* MFR drops only the refcount taken by filemap_get_folios(), so that the HWPoison folio becomes free, then dissolves it. dissolve_free_hugetlb_folio() moves the HWPoison flags to the raw pages after restoring vmemmap, and with [4], only the healthy raw pages are freed to the buddy allocator. If the dissolve fails (e.g. someone else holds a refcount), the folio stays HWPoison and is never allocated from the HugeTLB pool again.

Limitation
==========

For a MAP_PRIVATE mapping of the memfd, the first write fault anywhere in a HWPoison hugepage copies the whole hugepage, and the copy consumes the UEs. With CONFIG_ARCH_HAS_COPY_MC, the writer gets SIGBUS with si_addr_lsb of the hugepage size.

Dependency
==========

This patchset is based on mm-unstable commit 0ea6dc8c4a21 ("fs/proc/task_mmu: fix lost maps entries above 2^63") with v7 of [4] applied, which frees only the healthy pages of a high-order folio having HWPoison pages.

Testing
=======

Tested with the new selftest hugetlb-mfr in patch 2/3, with

* HVO (hugetlb_optimize_vmemmap) on and off.
* 2M and 1G hugepages.
* errors injected with MADV_HWPOISON and hwpoison_inject's corrupt-pfn. corrupt-pfn covers the code paths in get_huge_page_for_hwpoison() that MADV_HWPOISON skips with MF_COUNT_INCREASED.
* hugepages released by truncation, and by closing a memfd sealed before and after injecting errors.

AI Disclosure
=============

I used an AI assistant (Antigravity with Claude) to review the code and help debug, to reword the commit messages and this cover letter, and to rewrite the selftest. Each patch has an Assisted-by tag. I wrote the kernel code, and have reviewed and tested everything in this patchset.

Changelog
=========

v4 -> v3 [5]

- Rebase onto mm-unstable commit 0ea6dc8c4a21 ("fs/proc/task_mmu: fix lost maps entries above 2^63") with v7 of [4].

- Rework the refcount handling to address the issues pointed out by Miaohe Lin <[email protected]> [7]. In v3, MFR held one refcount per raw HWPoison page, and dropped one refcount per raw_hwp_list entry when releasing the folio. This drops too many, since get_huge_page_for_hwpoison() takes at most one refcount per folio, and it may drop the refcount held by someone else. In v4:
- MFR holds no refcount after memory_failure() returns. me_huge_page() drops the refcount taken by get_huge_page_for_hwpoison() or passed in with MF_COUNT_INCREASED. A folio under isolation is not HWPoison yet and has its migratable flag cleared, so memory_failure() neither takes a refcount on it nor reaches me_huge_page().
- filemap_offline_hwpoison_folio() drops only the refcount taken by filemap_get_folios(). It returns whether it has consumed that refcount, so that remove_inode_hugepages() doesn't release it again.
- get_huge_page_for_hwpoison() treats a HWPoison folio of an MFD_MF_KEEP_UE_MAPPED memfd as in use. Without this, the 2nd and later errors of a folio went to MF_HUGETLB_RETRY and ended up MF_IGNORED.

- Merge with hugetlb_update_hwpoison() from commit a148a2040191 ("mm/memory-failure: fix missing ->mf_stats count in hugetlb poison"). If hugetlb_update_hwpoison() sees a new raw HWPoison page in a kept-mapped folio, it returns MF_HUGETLB_IN_USED, so that try_memory_failure_hugetlb() handles the new error the same as the 1st one.

- Don't touch raw_hwp_list in filemap_offline_hwpoison_folio().

- hugetlbfs_error_remove_folio() returns MF_DELAYED for an MFD_MF_KEEP_UE_MAPPED memfd, so the result is reported as "Delayed" instead of "Recovered".

- Use folio_mapping() instead of folio->mapping.

- Remove the comment saying MFD_MF_KEEP_UE_MAPPED is not seal-able. Since MFR no longer holds refcounts, F_SEAL_WRITE can be added after a hugepage has UEs.

- Rewrite selftest hugetlb-mfr:
- Set up and restore HugeTLB pages with hugepage_settings.h, and unpoison raw pages at the end, as suggested by William Roche <[email protected]>.
- Keep the nr_hwp_pages argument for debugging, but default to poisoning all 8 raw pages.
- Add corrupt-pfn injection (the default) besides MADV_HWPOISON.
- Add a seal mode that seals the memfd before and after injecting errors, and releases it by close.
- Check HardwareCorrupted and KPF_HWPOISON of the raw pages.
- Add it to run_vmtests.sh under the memory-failure category.
- Keep it a separate test instead of folding into memory-failure.c as suggested by Miaohe Lin <[email protected]>, because it needs its own HugeTLB setup and a multi-step memfd lifecycle.

- Document the MAP_PRIVATE copy-on-write limitation, hole punch, and how MFD_MF_KEEP_UE_MAPPED works with seals.

- Drop Tested-by and Reviewed-by from William and Jane Chu, since patches changed a lot.

v3 -> v2 [3]

- Rebase onto [4] to simplify filemap_offline_hwpoison_folio_hugetlb(). With free_has_hwpoisoned() rejecting HWPoison subpages in a HugeTLB folio, there is no need to take_page_off_buddy() after dissolve_free_hugetlb_folio().

- Address comments from William Roche <[email protected]> and Jane Chu <[email protected]>.

- Update size_shift in kill_accessing_process() if MFD_MF_KEEP_UE_MAPPED is enabled. Thanks William Roche <[email protected]> for providing his patch on this.

- Add a new tunable to hugetlb-mfr to control the number of pages within the 1st hugepage to MADV_HWPOISON.

v2 -> v1 [2]

- Rebase onto commit 6da43bbeb6918 ("Merge tag 'vfio-v6.18-rc6' of
https://github.com/awilliam/linux-vfio").

- Remove populate_memfd_hwp_folios() and offline_memfd_hwp_folios() so that no memory allocation is needed during releasing HWPoison memfd.

- Insert filemap_offline_hwpoison_folio() into remove_inode_single_folio(). Now dissolving and offlining HWPoison huge folios is done on the fly.

- Fix the bug pointed out by William Roche <[email protected]>:
call take_page_off_buddy() no matter HWPoison page is buddy page or not.

- Remove update_per_node_mf_stats() when dissolve failed.

- Make hugetlb-mfr allocate 4 1G hugepages to cover new code introduced in remove_inode_hugepages().

- Make hugetlb-mfr support testing both 1GB and 2MB HugeTLB hugepages.

- Fix some typos in documentation.

[1] https://lwn.net/Articles/991513
[2] https://lore.kernel.org/lkml/[email protected]
[3] https://lore.kernel.org/linux-mm/[email protected]
[4] https://lore.kernel.org/linux-mm/[email protected]
[5] https://lore.kernel.org/linux-mm/[email protected]
[6] https://lore.kernel.org/linux-mm/[email protected]
[7] https://lore.kernel.org/linux-mm/[email protected]

Jiaqi Yan (3):
mm: memfd/hugetlb: memfd-based userspace HugeTLB MFR policy selftests/mm: test userspace MFR for HugeTLB hugepage
Documentation: add documentation for MFD_MF_KEEP_UE_MAPPED

 Documentation/userspace-api/index.rst         |   1 +
 .../userspace-api/mfd_mfr_policy.rst          |  81 ++
 fs/hugetlbfs/inode.c                          |  42 +-
 include/linux/pagemap.h                       |  24 +
 include/uapi/linux/memfd.h                    |   6 +
 mm/hugetlb.c                                  |   8 +-
 mm/memfd.c                                    |   9 +-
 mm/memory-failure.c                           | 119 ++-
 tools/testing/selftests/mm/Makefile           |   1 +
 tools/testing/selftests/mm/hugetlb-mfr.c      | 704 ++++++++++++++++++
 tools/testing/selftests/mm/run_vmtests.sh     |   1 +
 11 files changed, 977 insertions(+), 19 deletions(-)
 create mode 100644 Documentation/userspace-api/mfd_mfr_policy.rst
 create mode 100644 tools/testing/selftests/mm/hugetlb-mfr.c
Signature · 1 line
2.56.0.611.g1030f0b940-goog
author
#1 lore raw

PATCH v4 1/3 mm: memfd/hugetlb: memfd-based userspace HugeTLB MFR policy

Sometimes immediately hard offlining a large chunk of contiguous memory having uncorrected memory errors (UE) may not be the best option. Cloud providers usually serve capacity- and performance-critical guest memory with 1G HugeTLB hugepages, as this significantly reduces the overhead associated with managing page tables and TLB misses. However, for today's HugeTLB system, once a byte of memory in a hugepage is hardware corrupted, the kernel discards the whole hugepage, including the healthy portion. Customer workload running in the VM can hardly recover from such a great loss of memory.

Therefore keeping or discarding a large chunk of contiguous memory owned by userspace (particularly to serve guest memory) due to recoverable UE may better be controlled by userspace process that owns the memory, e.g. VMM in the Cloud environment.

Introduce a memfd-based userspace memory failure recovery (MFR) policy, MFD_MF_KEEP_UE_MAPPED. The policy could be supported by other kinds of memfd in the future, but the current implementation only covers HugeTLB.

For a hugepage associated with MFD_MF_KEEP_UE_MAPPED enabled memfd, whenever it runs into a new UE:

* MFR defers hard offline operations, i.e., unmapping and dissolving. MFR still sets the HWPoison flag, records the raw HWPoison page in the folio's raw_hwp_list, and sends SIGBUS to the consuming thread, but si_addr_lsb is reduced to PAGE_SHIFT. If userspace is able to handle the SIGBUS, the hugepage remains accessible via the mapping created with that memfd. The result is reported as MF_DELAYED, since the hugepage will be dealt with later.

* MFR doesn't hold any refcount on the hugepage after it returns; the page cache keeps the hugepage alive. Every memory_failure() on such a hugepage takes exactly one refcount and drops it in me_huge_page(), so it never drops a refcount held by others, e.g. hugetlb isolation. Since the 1st error clears the hugepage's migratable flag, get_huge_page_for_hwpoison() treats an already HWPoison hugepage of an MFD_MF_KEEP_UE_MAPPED memfd as in use, so that the 2nd and later errors are handled the same as the 1st. Without extra refcounts, the memfd can still be sealed with F_SEAL_WRITE after its hugepages have UEs.

* If the memory was not faulted in yet, the fault handler also allows faulting in the HWPoison folio.

For an MFD_MF_KEEP_UE_MAPPED enabled memfd, when it is closed, or when the userspace process truncates or punches holes in its hugepages:

* When the HugeTLB in-memory file system removes the filemap's folios one by one, it asks MFR to deal with HWPoison folios on the fly, implemented by filemap_offline_hwpoison_folio().

* MFR drops only the refcount taken by filemap_get_folios(), so that the HWPoison folio becomes free, and then dissolves it into a set of raw pages. dissolve_free_hugetlb_folio() moves the HWPoison flag to the raw pages after restoring vmemmap, so the healthy pages are freed to the buddy allocator, while the HWPoison ones are kept out of it. If the dissolve fails for any reason (e.g. an extra refcount on the folio), the folio remains HWPoison and is never allocated from the HugeTLB pool again.

By default MFD_MF_KEEP_UE_MAPPED is not set, so MFR immediately hard offlines hugepages having UEs.

Tested with the new selftest hugetlb-mfr in the follow-up commit, with

1. HVO on and off.

2. MADV_HWPOISON and corrupt-pfn. corrupt-pfn covers the code paths in get_huge_page_for_hwpoison() that MADV_HWPOISON skips with MF_COUNT_INCREASED.

3. 2M and 1G hugepages.

4. Hugepages released by truncation, and by closing a sealed memfd.

This commit message was reworded with an AI assistant, which was also used to review the code; I wrote all the code and have reviewed results from AI.

Assisted-by Antigravity:claude-opus-5-5
---
 fs/hugetlbfs/inode.c       |  42 ++++++++++---
 include/linux/pagemap.h    |  24 ++++++++
 include/uapi/linux/memfd.h |   6 ++
 mm/hugetlb.c               |   8 ++-
 mm/memfd.c                 |   9 ++-
 mm/memory-failure.c        | 119 ++++++++++++++++++++++++++++++++++---
 6 files changed, 189 insertions(+), 19 deletions(-)
fs/hugetlbfs/inode.c +35 -7
index f0be8edb3517..282bb19dfd3f 100644
@@ -493,10 +493,14 @@ hugetlb_vmdelete_list(struct address_space *mapping, pgoff_t start,
 
 /*
  * Called with hugetlb fault mutex held.
+ * Return true if the folio's folio_batch's refcount is consumed by
+ * filemap_offline_hwpoison_folio() because it attempted to deal with
+ * the folio for HWPoison reason.
  */
-static void remove_inode_single_folio(struct hstate *h, struct inode *inode,
-		struct address_space *mapping, struct folio *folio,
-		pgoff_t index, bool truncate_op)
+static bool remove_inode_single_folio(struct hstate *h, struct inode *inode,
+				      struct address_space *mapping,
+				      struct folio *folio, pgoff_t index,
+				      bool truncate_op)
 {
 	/*
 	 * If folio is mapped, it was faulted in after being
@@ -526,6 +530,17 @@ static void remove_inode_single_folio(struct hstate *h, struct inode *inode,
 	}
 
 	folio_unlock(folio);
+
+	/*
+	 * There may be pending HWPoison-ed folios when a memfd is being
+	 * removed or part of it is being truncated.
+	 *
+	 * HugeTLBFS' error_remove_folio keeps the HWPoison-ed folios in
+	 * page cache until mm wants to drop the folio at the end of the
+	 * filemap. At this point, if memory failure was previously delayed
+	 * by MFD_MF_KEEP_UE_MAPPED, we can now deal with it.
+	 */
+	return filemap_offline_hwpoison_folio(mapping, folio);
 }
 
 /*
@@ -556,13 +571,14 @@ static void remove_inode_hugepages(struct inode *inode, loff_t lstart,
 	const pgoff_t end = lend >> PAGE_SHIFT;
 	struct folio_batch fbatch;
 	pgoff_t next, index;
-	int i, freed = 0;
+	int i, j, freed = 0;
 	bool truncate_op = (lend == LLONG_MAX);
+	bool ret;
 
 	folio_batch_init(&fbatch);
 	next = lstart >> PAGE_SHIFT;
 	while (filemap_get_folios(mapping, &next, end - 1, &fbatch)) {
-		for (i = 0; i < folio_batch_count(&fbatch); ++i) {
+		for (i = 0, j = 0; i < folio_batch_count(&fbatch); ++i) {
 			struct folio *folio = fbatch.folios[i];
 			u32 hash = 0;
 
@@ -573,12 +589,21 @@ static void remove_inode_hugepages(struct inode *inode, loff_t lstart,
 			/*
 			 * Remove folio that was part of folio_batch.
 			 */
-			remove_inode_single_folio(h, inode, mapping, folio,
-						  index, truncate_op);
+			ret = remove_inode_single_folio(h, inode, mapping,
+							folio, index, truncate_op);
 			freed++;
 
+			/*
+			 * Skip HWPoison folio whose reference was already
+			 * dropped by filemap_offline_hwpoison_folio().
+			 */
+			if (!ret)
+				fbatch.folios[j++] = folio;
+
 			mutex_unlock(&hugetlb_fault_mutex_table[hash]);
 		}
+		fbatch.nr = j;
+
 		folio_batch_release(&fbatch);
 		cond_resched();
 	}
@@ -1048,6 +1073,9 @@ static int hugetlbfs_migrate_folio(struct address_space *mapping,
 static int hugetlbfs_error_remove_folio(struct address_space *mapping,
 				struct folio *folio)
 {
+	if (mapping_mf_keep_ue_mapped(mapping))
+		return MF_DELAYED;
+
 	return 0;
 }
 
include/linux/pagemap.h +24 -0
index 73af18a37367..120821141234 100644
@@ -209,6 +209,7 @@ enum mapping_flags {
 	AS_WRITEBACK_MAY_DEADLOCK_ON_RECLAIM = 9,
 	AS_KERNEL_FILE = 10,	/* mapping for a fake kernel file that shouldn't
 				   account usage to user cgroups */
+	AS_MF_KEEP_UE_MAPPED = 11, /* For MFD_MF_KEEP_UE_MAPPED. */
 	/* Bits 16-25 are used for FOLIO_ORDER */
 	AS_FOLIO_ORDER_BITS = 5,
 	AS_FOLIO_ORDER_MIN = 16,
@@ -344,6 +345,16 @@ static inline bool mapping_writeback_may_deadlock_on_reclaim(const struct addres
 	return test_bit(AS_WRITEBACK_MAY_DEADLOCK_ON_RECLAIM, &mapping->flags);
 }
 
+static inline bool mapping_mf_keep_ue_mapped(const struct address_space *mapping)
+{
+	return test_bit(AS_MF_KEEP_UE_MAPPED, &mapping->flags);
+}
+
+static inline void mapping_set_mf_keep_ue_mapped(struct address_space *mapping)
+{
+	set_bit(AS_MF_KEEP_UE_MAPPED, &mapping->flags);
+}
+
 static inline gfp_t mapping_gfp_mask(const struct address_space *mapping)
 {
 	return mapping->gfp_mask;
@@ -1349,6 +1360,19 @@ void replace_page_cache_folio(struct folio *old, struct folio *new);
 void delete_from_page_cache_batch(struct address_space *mapping,
 				  struct folio_batch *fbatch);
 bool filemap_release_folio(struct folio *folio, gfp_t gfp);
+#ifdef CONFIG_MEMORY_FAILURE
+/*
+ * Provided by memory failure to offline HWPoison-ed folio managed by memfd.
+ */
+bool filemap_offline_hwpoison_folio(struct address_space *mapping,
+				    struct folio *folio);
+#else
+static inline bool filemap_offline_hwpoison_folio(struct address_space *mapping,
+						  struct folio *folio)
+{
+	return false;
+}
+#endif
 loff_t mapping_seek_hole_data(struct address_space *, loff_t start, loff_t end,
 		int whence);
 
include/uapi/linux/memfd.h +6 -0
index 273a4e15dfcf..d9875da551b7 100644
@@ -12,6 +12,12 @@
 #define MFD_NOEXEC_SEAL		0x0008U
 /* executable */
 #define MFD_EXEC		0x0010U
+/*
+ * Keep owned folios mapped when uncorrectable memory errors (UE) causes
+ * memory failure (MF) within the folio. Only at the end of the mapping
+ * will its HWPoison-ed folios be dealt with.
+ */
+#define MFD_MF_KEEP_UE_MAPPED	0x0020U
 
 /*
  * Huge page size encoding when MFD_HUGETLB is specified, and a huge page
mm/hugetlb.c +5 -3
index ff9dbfbc7a96..d28710d3ede6 100644
@@ -5978,9 +5978,11 @@ static vm_fault_t hugetlb_no_page(struct address_space *mapping,
 		 * So we need to block hugepage fault by PG_hwpoison bit check.
 		 */
 		if (unlikely(folio_test_hwpoison(folio))) {
-			ret = VM_FAULT_HWPOISON_LARGE |
-				VM_FAULT_SET_HINDEX(hstate_index(h));
-			goto backout_unlocked;
+			if (!mapping_mf_keep_ue_mapped(mapping)) {
+				ret = VM_FAULT_HWPOISON_LARGE |
+				      VM_FAULT_SET_HINDEX(hstate_index(h));
+				goto backout_unlocked;
+			}
 		}
 
 		/* Check for page in userfault range. */
mm/memfd.c +8 -1
index 0f6fff004f5e..fcc00b4ba10e 100644
@@ -341,7 +341,8 @@ long memfd_fcntl(struct file *file, unsigned int cmd, unsigned int arg)
 #define MFD_NAME_PREFIX_LEN (sizeof(MFD_NAME_PREFIX) - 1)
 #define MFD_NAME_MAX_LEN (NAME_MAX - MFD_NAME_PREFIX_LEN)
 
-#define MFD_ALL_FLAGS (MFD_CLOEXEC | MFD_ALLOW_SEALING | MFD_HUGETLB | MFD_NOEXEC_SEAL | MFD_EXEC)
+#define MFD_ALL_FLAGS (MFD_CLOEXEC | MFD_ALLOW_SEALING | MFD_HUGETLB | \
+		       MFD_NOEXEC_SEAL | MFD_EXEC | MFD_MF_KEEP_UE_MAPPED)
 
 static int check_sysctl_memfd_noexec(unsigned int *flags)
 {
@@ -412,6 +413,9 @@ static int sanitize_flags(unsigned int *flags_ptr)
 	if (!(flags & MFD_HUGETLB)) {
 		if (flags & ~MFD_ALL_FLAGS)
 			return -EINVAL;
+		/* Only HugeTLBFS supports MFD_MF_KEEP_UE_MAPPED. */
+		if (flags & MFD_MF_KEEP_UE_MAPPED)
+			return -EINVAL;
 	} else {
 		/* Allow huge page size encoding in flags. */
 		if (flags & ~(MFD_ALL_FLAGS |
@@ -484,6 +488,9 @@ struct file *memfd_alloc_file(const char *name, unsigned int flags)
 	file->f_mode |= FMODE_LSEEK | FMODE_PREAD | FMODE_PWRITE;
 	file->f_flags |= O_LARGEFILE;
 
+	if (flags & MFD_MF_KEEP_UE_MAPPED)
+		mapping_set_mf_keep_ue_mapped(file->f_mapping);
+
 	if (flags & MFD_NOEXEC_SEAL) {
 		inode->i_mode &= ~0111;
 		file_seals = memfd_file_seals_ptr(file);
mm/memory-failure.c +111 -8

211 lines not on this page · raw message

Signature · 1 line
2.56.0.611.g1030f0b940-goog
#2 lore raw

Re: [PATCH v4 1/3] mm: memfd/hugetlb: memfd-based userspace HugeTLB MFR policy

Hi Jiaqi,

This generally looks reasonable in principle, but some comments.

mm/hugetlb.c static vm_fault_t hugetlb_no_page(struct address_space *mapping, · line 5985

Quoted 5 lines · Jiaqi Yan
mm/hugetlb.c +5 -0
+			if (!mapping_mf_keep_ue_mapped(mapping)) {
+				ret = VM_FAULT_HWPOISON_LARGE |
+				      VM_FAULT_SET_HINDEX(hstate_index(h));
+				goto backout_unlocked;
+			}

This doesn't look right to me. For example, hugetlb_mfill_atomic_pte() also checks folio_test_hwpoison(), so UFFDIO_CONTINUE on such a folio still fails with -EIO. Also, do_migrate_range() calls unmap_poisoned_folio() on any mapped folio with HWPoison set, so offlining the memory block unmaps the hugepage after all.

mm/memory-failure.c static int get_huge_page_for_hwpoison(unsigned long pfn, int flags, · line 2193

Quoted 6 lines
mm/memory-failure.c +6 -0
+	folio_put(folio);
+
+	/* Refcount now should be zero and ready to dissolve folio. */
+	ret = dissolve_free_hugetlb_folio(folio);
+	if (ret)
+		pr_err("failed to dissolve hugetlb folio: %d\n", ret);

This isn't a good idea when somebody else still holds a reference, such as a long term pin from io_uring or iommufd (Jason was asking about the latter in [1]). dissolve_free_hugetlb_folio() returns -EBUSY, and when that last reference goes away later, free_huge_folio() puts the folio on the free list with HWPoison still set. Now, while this sketchy page may well never be handed out again, it is nevertheless counted in free_huge_pages, so a later mmap() can end up getting its reservation against it, and as a result, a SIGBUS when it faults. That seems like a real problem for a VMM with passthrough devices.

I didn't check in detail, but since the folio has to be dissolved when its last reference goes, wherever that happens, perhaps one way to fix this would be to do it from free_huge_folio() instead, and treat a HWPoison folio there much like a surplus one? That would cover the pinned case, and I think it would also let you drop filemap_offline_hwpoison_folio() and the folio_batch changes in remove_inode_hugepages() entirely.

mm/memory-failure.c static int hugetlb_update_hwpoison(struct folio *folio, struct page *page) · line 2059

Quoted 3 lines
mm/memory-failure.c +3 -0
+		if (hugetlb_should_keep_hwpoison_mapped(folio, mapping))
+			/* A new raw HWPoison page in a still mapped hugepage. */
+			ret = MF_HUGETLB_IN_USED;

This also looks a little wrong, because a 2nd error now gets past here and reaches the hwpoison_filter() check in try_memory_failure_hugetlb(), which calls folio_clear_hugetlb_hwpoison() when the page is filtered. That clears HWPoison for the whole folio, earlier errors included. I'd suggest instead that it only undoes what this call added.

Thanks!

Chris

[1] https://lore.kernel.org/r/[email protected]

#3 lore raw

Re: [PATCH v4 1/3] mm: memfd/hugetlb: memfd-based userspace HugeTLB MFR policy

Hello Jiaqi and Chris,

I think we may have another problem to consider:

@@ -1229,6 +1259,15 @@ static int me_huge_page(struct page_state *ps, struct page *p)
/* The page is kept in page cache. */
extra_pins = true;
folio_unlock(folio);
+
+ if (hugetlb_should_keep_hwpoison_mapped(folio, mapping)) {
+ /*
+ * Page cache keeps the folio until
+ * filemap_offline_hwpoison_folio() dissolves it.
+ */
+ folio_put(folio);
+ return res;
+ }

Shouldn't we evaluate hugetlb_should_keep_hwpoison_mapped() before releasing the folio lock? AFAIK, the folio reference alone does not keep the mapping alive.

Maybe something like that could be more appropriate ?

        if (mapping) {
		bool keep;

                res = truncate_error_folio(folio, page_to_pfn(p), mapping);
                /* The page is kept in page cache. */
                extra_pins = true;
                keep = hugetlb_should_keep_hwpoison_mapped(folio, 
mapping);									
                folio_unlock(folio);

                if (keep) {
                        /*
                         * Page cache keeps the folio until
                         * filemap_offline_hwpoison_folio() dissolves it.
                         */
                        folio_put(folio);
                        return res;
                }
        } else {

...

Quoted 4 lines · Chris Down

...
This doesn't look right to me. For example, hugetlb_mfill_atomic_pte() also checks folio_test_hwpoison(), so UFFDIO_CONTINUE on such a folio still fails with -EIO.

We are dealing here with memory errors in a HugeTLB-backed region registered with userfaultfd.
For an application using userfaultfd minor faults on HugeTLB-backed memory, returning EIO from UFFDIO_CONTINUE would prevent it from resolving a fault on an otherwise usable part of a kept-mapped poisoned hugepage. We can imagine a VM using this type of memory, and starting a migration where userfaultfd is used to track access to an already transferred memory area, an EIO could disrupt the migration workflow.

So we should fix this limitation in a way that the kept-mapped poisoned hugepage is not rejected by hugetlb_mfill_atomic_pte(). Would this introduce any other problems?

Quoted 3 lines

Also, do_migrate_range() calls unmap_poisoned_folio() on any mapped folio with HWPoison set, so offlining the memory block unmaps the hugepage after all.

Here too, we would need to avoid the unmapping for a kept-mapped poisoned hugepage.
Memory migration should not be allowed for such a poisoned hugetlb page, as it relies on the hardware to generate an event (an MCE for example) when the failed location is accessed.
If the page was moved, this needed mechanism would stop working. Preserving the mapping may therefore require memory offlining to fail while the hugepage remains in use.

HTH,
William.

author
#4 lore raw

Re: [PATCH v4 1/3] mm: memfd/hugetlb: memfd-based userspace HugeTLB MFR policy

In reply to Chris Down
Quoted 4 lines · Chris Down

Hi Jiaqi,

This generally looks reasonable in principle, but some comments.

Thanks a lot for these super helpful review, Chris! Below are what I have changed and tested locally over the past couple of weeks.

Quoted 8 lines

mm/hugetlb.c static vm_fault_t hugetlb_no_page(struct address_space *mapping, · line 5985

Quoted 5 lines · Jiaqi Yan
mm/hugetlb.c +5 -0
+                      if (!mapping_mf_keep_ue_mapped(mapping)) {
+                              ret = VM_FAULT_HWPOISON_LARGE |
+                                    VM_FAULT_SET_HINDEX(hstate_index(h));
+                              goto backout_unlocked;
+                      }
Quoted 5 lines

This doesn't look right to me. For example, hugetlb_mfill_atomic_pte() also checks folio_test_hwpoison(), so UFFDIO_CONTINUE on such a folio still fails with -EIO. Also, do_migrate_range() calls unmap_poisoned_folio() on any mapped folio with HWPoison set, so offlining the memory block unmaps the hugepage after all.

Agreed, I am adding the support for both cases:

- hugetlb_mfill_atomic_pte() won't fail with -EIO if the HWPoison folio is in the page cache of an MFD_MF_KEEP_UE_MAPPED memfd, which covers UFFDIO_CONTINUE. VMM during post-copy would need this. A HWPoison anon folio from a private UFFDIO_COPY, however, still fails with -EIO.

- do_migrate_range() won't unmap_poisoned_folio() on a folio kept mapped by MFD_MF_KEEP_UE_MAPPED. Such a folio is in use and no
longer migratable, so after do_migrate_range(), offlining the memory block now fails with -EBUSY (dissolve_free_hugetlb_folios() fails on it) until userspace releases the hugepage, the same as with a long-term pin. I think the policy userspace opted into should win over hot-remove here, and I will document it.

Also added two new modes in hugetlb-mfr.c to cover both cases: "uffd" checks that
UFFDIO_CONTINUE maps the HWPoison hugepage from a second mapping, and "offline" checks that offlining the memory block fails with EBUSY while the memory stays accessible.

Quoted 18 lines

mm/memory-failure.c static int get_huge_page_for_hwpoison(unsigned long pfn, int flags, · line 2193

Quoted 7 lines
mm/memory-failure.c +6 -0
+      folio_put(folio);
+
+      /* Refcount now should be zero and ready to dissolve folio. */
+      ret = dissolve_free_hugetlb_folio(folio);
+      if (ret)
+              pr_err("failed to dissolve hugetlb folio: %d\n", ret);

This isn't a good idea when somebody else still holds a reference, such as a long term pin from io_uring or iommufd (Jason was asking about the latter in [1]). dissolve_free_hugetlb_folio() returns -EBUSY, and when that last reference goes away later, free_huge_folio() puts the folio on the free list with HWPoison still set. Now, while this sketchy page may well never be handed out again, it is nevertheless counted in free_huge_pages, so a later mmap() can end up getting its reservation against it, and as a result, a SIGBUS when it faults. That seems like a real problem for a VMM with passthrough devices.

Quoted 6 lines

I didn't check in detail, but since the folio has to be dissolved when its last reference goes, wherever that happens, perhaps one way to fix this would be to do it from free_huge_folio() instead, and treat a HWPoison folio there much like a surplus one? That would cover the pinned case, and I think it would also let you drop filemap_offline_hwpoison_folio() and the folio_batch changes in remove_inode_hugepages() entirely.

Thanks for this great suggestion. Incorporated it into my next revision. free_huge_folio() now takes a HWPoison folio out of the pool and frees it with update_and_free_hugetlb_folio(), like it does for a surplus folio, instead of enqueuing it. With "mm/page_alloc: only free healthy pages in high-order folio" [2], only the healthy pages go back to the buddy allocator, and the HWPoison ones are taken off. The folio is never counted in free_huge_pages, whoever drops the last reference, including an unpin from iommufd or io_uring long after the memfd is gone. As you already pointed out, filemap_offline_hwpoison_folio() and the folio_batch changes in remove_inode_hugepages() are gone.

This is not specific to MFD_MF_KEEP_UE_MAPPED: an anonymous HugeTLB folio pinned when memory_failure() runs hits the same problem today. So I am moving this change into the next version of [2], as a new patch on top of "only free healthy pages", and this series will still be based on it.

During implementing your idea, I found two adjustments to memory_failure() have to came with it:

- free_huge_folio() can run in atomic context, so with HVO the folio is freed later by free_hpage_work. me_huge_page() used to drop its refcount and then dissolve and check PageHWPoisonTakenOff(), which could now report MF_FAILED (and make MADV_HWPOISON return -EBUSY) for a page that gets isolated right after. My solution is to make
me_huge_page()
test folio_put_testzero(): if it drops the last reference, it waits for free_hpage_work and then checks PageHWPoisonTakenOff(); otherwise someone (e.g. a pin) still holds the folio, and the result is MF_FAILED as before.

- If in get_huge_page_for_hwpoison(), folio_try_get() fails because the last reference is being dropped concurrently, I am going to call it MF_HUGETLB_FREEING, instead of MF_HUGETLB_FREED.
Unlike MF_HUGETLB_FREED, for MF_HUGETLB_FREEING memory_failure() no longer locks and dissolves the folio, as it could race with someone else freeing the same folio to buddy. free_huge_folio() picks its branch under hugetlb_lock, and hugetlb_update_hwpoison() already marks the folio HWPoison under the same lock, so memory_failure() can let the other pending free takes care of the foilo, and report MF_DELAYED.

To provide coverage for long-term pins: the memory-failure selftest now gets anon_hugetlb_pinned (the hugepage is freed at unpin, and all remaining free hugepages can be reserved and faulted in without SIGBUS) and anon_hugetlb_surplus, and hugetlb-mfr gets a "pin" mode. The pin comes from an io_uring fixed buffer, or from gup_test (PIN_LONGTERM_TEST_START) when io_uring is not available.

Quoted 10 lines

mm/memory-failure.c static int hugetlb_update_hwpoison(struct folio *folio, struct page *page) · line 2059

Quoted 4 lines
mm/memory-failure.c +3 -0
+              if (hugetlb_should_keep_hwpoison_mapped(folio, mapping))
+                      /* A new raw HWPoison page in a still mapped hugepage. */
+                      ret = MF_HUGETLB_IN_USED;

This also looks a little wrong, because a 2nd error now gets past here and reaches the hwpoison_filter() check in try_memory_failure_hugetlb(), which calls folio_clear_hugetlb_hwpoison() when the page is filtered. That clears HWPoison for the whole folio, earlier errors included. I'd suggest instead that it only undoes what this call added.

Right, a filtered 2nd error would undo the earlier ones too. Undoing only what the current call added is doable: it needs to know whether the call set the folio's HWPoison flag, and to remove only its own raw_hwp_list entry.

Considering hwpoison_filter() is a debugfs testing aid, I don't think the extra code is worth it for that; I simply skip hwpoison_filter() if a folio is of
an MFD_MF_KEEP_UE_MAPPED memfd. If you think the filter should be supported, I can reconsider adding the precise undo.

I drafted the next version and ran the new memory-failure and hugetlb-mfr selftests with HVO on and off, 1G (boot-time) and 2M (runtime) hugepages, errors injected with both corrupt-pfn and MADV_HWPOISON, and the HWPoison hugepage released by truncate, close of a sealed memfd, unpin (io_uring and gup_test) and after UFFDIO_CONTINUE; everything passes, including 200 iterations of the anon HugeTLB test with HVO on.

I still need to take a look at the comments from William and Miaohe; hopefully I can get something ready to post as v5 by Chrismas Eve.

Thanks!
Jiaqi

Quoted 6 lines

Thanks!

Chris

[1] https://lore.kernel.org/r/[email protected]

[2] https://lore.kernel.org/linux-mm/[email protected]

maintainer
#5 lore raw

Re: [PATCH v4 1/3] mm: memfd/hugetlb: memfd-based userspace HugeTLB MFR policy

In reply to Jiaqi Yan

On 2026/11/16 0:01, Jiaqi Yan wrote:

Thanks for your patch. Some comments below.

include/linux/pagemap.h static inline bool mapping_writeback_may_deadlock_on_reclaim(const struct addres · line 357

Quoted 10 lines
include/linux/pagemap.h +10 -0
+static inline bool mapping_mf_keep_ue_mapped(const struct address_space *mapping)
+{
+	return test_bit(AS_MF_KEEP_UE_MAPPED, &mapping->flags);
+}
+
+static inline void mapping_set_mf_keep_ue_mapped(struct address_space *mapping)
+{
+	set_bit(AS_MF_KEEP_UE_MAPPED, &mapping->flags);
+}
+

Is mapping_clear_mf_keep_ue_mapped not supported?

mm/memory-failure.c static int me_huge_page(struct page_state *ps, struct page *p) · line 1268

Quoted 11 lines
mm/memory-failure.c +7 -0
@@ -1229,6 +1259,15 @@ static int me_huge_page(struct page_state *ps, struct page *p)
 		/* The page is kept in page cache. */
 		extra_pins = true;
 		folio_unlock(folio);
+
+		if (hugetlb_should_keep_hwpoison_mapped(folio, mapping)) {
+			/*
+			 * Page cache keeps the folio until
+			 * filemap_offline_hwpoison_folio() dissolves it.
+			 */
+			folio_put(folio);

There is a has_extra_refcount check below that may change the return value. Is it problematic to return directly here?

mm/memory-failure.c static int get_huge_page_for_hwpoison(unsigned long pfn, int flags, · line 2131

Quoted 12 lines
mm/memory-failure.c +7 -1
@@ -2070,7 +2122,15 @@ static int get_huge_page_for_hwpoison(unsigned long pfn, int flags,
 		count_increased = true;
 	} else if (folio_test_hugetlb_freed(folio)) {
 		ret = MF_HUGETLB_FREED;
-	} else if (folio_test_hugetlb_migratable(folio)) {
+	} else if (folio_test_hugetlb_migratable(folio) ||
+		   (folio_test_hwpoison(folio) &&
+		    hugetlb_should_keep_hwpoison_mapped(folio, mapping))) {
+		/*
+		 * A kept-mapped HWPoison hugepage is
+		 * no longer migratable (cleared by
+		 * the 1st error), but it is still in use

hugetlb_migratable could also be cleared by folio_isolate_hugetlb. So when a kept-mapped HWPoison hugepage is no longer migratable, it still might be the 1st error.

mm/memory-failure.c static int get_huge_page_for_hwpoison(unsigned long pfn, int flags, · line 2132

Quoted 1 line
mm/memory-failure.c +1 -0
+		 * and should/can go through same handling.

The folio has already been handled in the first pass when 1st error happened. Why does it need to go through the whole process again?

Thanks.
.

author
#6 lore raw

PATCH v4 2/3 selftests/mm: test userspace MFR for HugeTLB hugepage

In reply to Jiaqi Yan

Test the userspace memory failure recovery (MFR) policy for HugeTLB:

1. Create a memfd backed by HugeTLB and MFD_MF_KEEP_UE_MAPPED bit set.

2. Allocate and map 4 hugepages, and fill them with data.

3. Create sub-threads to inject memory errors at inner addresses of the 1st hugepage.

4. Check if each sub-thread gets correct SIGBUS for the poisoned raw page.

5. Check if all memory is still accessible and content still valid.

6. Optionally seal the memfd, before and after injecting errors.

7. Check if the poisoned hugepage is dissolved after the memfd is truncated or closed, and only its raw HWPoison pages are isolated.

8. Unpoison the raw HWPoison pages.

Configurables in the test:

- hugepage_size: size of the hugepage, 1G (default) or 2M.

- nr_hwp_pages: number of raw pages within the 1st hugepage to poison, 1 to 8 (default 8).

- inject_method: how memory errors are injected.
- corrupt-pfn (default): write the PFN to hwpoison_inject's corrupt-pfn, which calls memory_failure() without MF_COUNT_INCREASED, like a real action optional error. The injecting thread opts in to early kill and gets SIGBUS with BUS_MCEERR_AO.
- madvise: MADV_HWPOISON, which calls memory_failure() with MF_ACTION_REQUIRED | MF_COUNT_INCREASED. The injecting thread gets SIGBUS with BUS_MCEERR_AR.

- release_method: how the HWPoison hugepage is released.
- truncate (default): truncate the memfd to 0.
- seal: model a sealed base image shared via MAP_PRIVATE. Before injecting errors, seal the memfd with F_SEAL_SHRINK | F_SEAL_GROW | F_SEAL_FUTURE_WRITE, and replace the writable shared mapping with a read-only private one, through which errors are injected. After injecting errors, seal the memfd with F_SEAL_WRITE | F_SEAL_EXEC | F_SEAL_SEAL, check that the seals are enforced and the memfd is still readable, then close it. Adding F_SEAL_WRITE needs the folio to have no refcount other than the page cache and page tables, so it checks that memory_failure() didn't leave one behind.

The test needs root, and the hwpoison_inject module for corrupt-pfn and unpoisoning. It sets up the HugeTLB pages it needs, and restores the original HugeTLB settings when it exits. run_vmtests.sh runs it under the memory-failure category.

The test code is heavily re-written by an AI assistant based on the original code I wrote from scratch [1]. I reviewed and tested AI's new code.

[1] https://lore.kernel.org/linux-mm/[email protected]/

Assisted-by Antigravity:claude-opus-5-5
---
 tools/testing/selftests/mm/Makefile       |   1 +
 tools/testing/selftests/mm/hugetlb-mfr.c  | 704 ++++++++++++++++++++++
 tools/testing/selftests/mm/run_vmtests.sh |   1 +
 3 files changed, 706 insertions(+)
 create mode 100644 tools/testing/selftests/mm/hugetlb-mfr.c
tools/testing/selftests/mm/Makefile +1 -0
index 675ec57d47de..c25a4048fc1c 100644
@@ -62,6 +62,7 @@ TEST_GEN_FILES += gup
 TEST_GEN_FILES += gup_longterm
 TEST_GEN_FILES += hmm-tests
 TEST_GEN_FILES += hugetlb-madvise
+TEST_GEN_FILES += hugetlb-mfr
 TEST_GEN_FILES += hugetlb-mmap
 TEST_GEN_FILES += hugetlb-mremap
 TEST_GEN_FILES += hugetlb-read-hwpoison
tools/testing/selftests/mm/hugetlb-mfr.c new file +704 -0

704 lines not on this page · raw message

tools/testing/selftests/mm/run_vmtests.sh +1 -0
index 973cb715b326..4d5140b7dee7 100755
@@ -467,6 +467,7 @@ CATEGORY="page_frag" run_test ./test_page_frag.sh nonaligned
 CATEGORY="rmap" run_test ./rmap
 
 CATEGORY="memory-failure" run_test ./memory-failure
+CATEGORY="memory-failure" run_test ./hugetlb-mfr
 
 echo "SUMMARY: PASS=${count_pass} SKIP=${count_skip} FAIL=${count_fail}" | tap_prefix
 echo "1..${count_total}" | tap_output
Signature · 1 line
2.56.0.611.g1030f0b940-goog
#7 lore raw

Re: [PATCH v4 2/3] selftests/mm: test userspace MFR for HugeTLB hugepage

Hi Jiaqi,

tools/testing/selftests/mm/hugetlb-mfr.c line 351

Quoted 1 line · Jiaqi Yan
tools/testing/selftests/mm/hugetlb-mfr.c new file +1 -0
+	map = mmap(NULL, len, PROT_READ, MAP_PRIVATE, fd, 0);

This isn't right -- a private mapping reserves hugepages of its own, but the 4 hugepages that setup_hugetlb_pages() asked for are all in the page cache by now, so the seal mode fails with ENOMEM when the test sets up the pool by itself. I think we either need MAP_NORESERVE here, or to ask for twice NR_HUGEPAGES in seal mode.

Quoted 1 line

+CATEGORY="memory-failure" run_test ./hugetlb-mfr

Probably worth adding a 2M line or two as well, since this only runs the 1G case, which is skipped when 4 free 1G hugepages can't be allocated.

Thanks!

Chris

#8 lore raw

Re: [PATCH v4 2/3] selftests/mm: test userspace MFR for HugeTLB hugepage

In reply to Jiaqi Yan

About the selftest:

The Linux documentation indicates that there is no fixed debugfs mount point, so we should probably discover the debugfs mount point instead of assuming it is always /sys/kernel/debug/
My March 20 version did that, but I haven't found a C test program within selftests that dynamically does that.
So maybe keeping the "/sys/kernel/debug/" would be an acceptable implementation, and could also be an explicit test prerequisite, with a clear skip if the interface is unavailable.

I would also suggest to load the hwpoison_inject module before starting. Something like that should be enough:

        r = system("modprobe hwpoison_inject");
        if (r != 0) {
                ksft_test_result_fail("Can't probe hwpoison_inject 
kernel module");
                return -1;
        }

Just in case it's not already there, and we would like to support a standalone invocation.

I also agree with Chris: The default test should run on 2M pages to have a better chance to run because of lower requirements. By default, I would even suggest running 2M test first, followed by the 1G test when that size is supported and sufficient HugeTLB pages are available.

HTH,
William.

author
#9 lore raw

PATCH v4 3/3 Documentation: add documentation for MFD_MF_KEEP_UE_MAPPED

In reply to Jiaqi Yan

Document its motivation, userspace API, behaviors, and limitations.

---
 Documentation/userspace-api/index.rst         |  1 +
 .../userspace-api/mfd_mfr_policy.rst          | 81 +++++++++++++++++++
 2 files changed, 82 insertions(+)
 create mode 100644 Documentation/userspace-api/mfd_mfr_policy.rst
Documentation/userspace-api/index.rst +1 -0
index a68b1bea57a8..9c40445ea354 100644
@@ -69,3 +69,4 @@ Everything else
    futex2
    perf_ring_buffer
    ntsync
+   mfd_mfr_policy
Documentation/userspace-api/mfd_mfr_policy.rst new file +81 -0

81 lines not on this page · raw message

Signature · 1 line
2.56.0.611.g1030f0b940-goog