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

Kyle Meyer
2025-09-17T18:59:47Z

On Wed, Sep 17, 2025 at 06:35:14AM +0000, Fan, Shawn wrote:
> >> My original patch for this just skipped the GHES->offline process
> >> for huge pages. But I wasn't aware of the sysctl control. That provides
> >> a better solution.
> >
> > Tony, does that mean you're OK with using the existing sysctl interface? If
> > so, I'll just send a separate patch to update the sysfs-memory-page-offline
> > documentation and drop the rest.
>
> Kyle,
>
> It depends on which camp the external customer that reported this
> falls into:
>
> 1) "I'm OK disabling all soft offline requests".
>
> or the:
>
> 2) "I'd like 4K pages to still go offline if the BIOS asks, just not any huge pages".
>
> Shawn: Can you please find out?
>
>
> -> Prefer the 2nd option, "4K pages still go offline if the BIOS asks, just not any huge pages."

OK, thank you.

Does that mean they want to avoid offlining transparent huge pages as well?

Thanks,
Kyle Meyer