Re: [PATCH v2] mm/memory-failure: Support disabling soft offline for HugeTLB pages

From: Kyle Meyer

Date: Mon Aug 24 2026 - 14:32:45 EST


On Mon, Aug 24, 2026 at 11:20:05AM -0700, Andrew Morton wrote:
> On Mon, 24 Aug 2026 12:53:47 -0500 Kyle Meyer <kyle.meyer@xxxxxxx> wrote:
>
> > On Thu, Aug 20, 2026 at 11:47:11AM +0800, Shuai Xue wrote:
> > > Hi Kyle,
> >
> > Hi.
> >
> > > Following up on this thread. The v2 patch once landed in akpm's mm
> > > tree (9ae6eefa4b6b "mm/memory-failure: support disabling soft
> > > offline for HugeTLB pages"), but that commit is now not reachable
> > > from any branch, and mainline as of v7.3-rc1 still only has the 0/1
> > > switch in /proc/sys/vm/enable_soft_offline.
> >
> > Thanks for pointing this out.
> >
> > Looks like this patch was added on 2025-09-16 [1] and dropped on 2025-11-11 [2].
> >
> > [1] https://lore.kernel.org/all/20250916032512.AE588C4CEEB@xxxxxxxxxxxxxxx
> > [2] https://lore.kernel.org/all/20251111231818.52A60C16AAE@xxxxxxxxxxxxxxx
> >
> > I must have missed the second email.
> >
> > I don't remember discussing a v3. Can someone please remind me what we planned
> > to change or whether there was another reason it was dropped?
>
> I interpreted the (lengthy) review discussion to mean that a new
> version was to be sent out.
>
> > > The underlying issue discussed here is still unresolved for us:
> > > firmware reporting per-rank corrected error thresholds via GHES
> > > triggers soft offline of huge pages, which neither addresses the
> > > failing rank nor is acceptable for workloads that rely on stable
> > > hugetlb physical layouts.
> > >
> > > Do you still plan to send a v3, e.g. with the disable-bitmask
> > > layout Anshuman suggested upthread?
> >
> > I wasn't planning on sending a v3 but I'm happy to revisit if needed.
>
> That would be best at this stage - please review the changelog to see
> if additional details should be added to cover the considerations which
> were discussed.

Thank you for the clarification. I'll review everything and send a v3.

Thanks,
Kyle Meyer