lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACw3F53=9+rSdUt7yqTz=GineyRxJf1FBgXQ4omYvFkwFDqZQA@mail.gmail.com>
Date: Thu, 18 Sep 2025 08:48:29 -0700
From: Jiaqi Yan <jiaqiyan@...gle.com>
To: Shuai Xue <xueshuai@...ux.alibaba.com>
Cc: Kyle Meyer <kyle.meyer@....com>, "Fan, Shawn" <shawn.fan@...el.com>, 
	"Luck, Tony" <tony.luck@...el.com>, Andrew Morton <akpm@...ux-foundation.org>, 
	"corbet@....net" <corbet@....net>, "david@...hat.com" <david@...hat.com>, 
	"linmiaohe@...wei.com" <linmiaohe@...wei.com>, "shuah@...nel.org" <shuah@...nel.org>, 
	"jane.chu@...cle.com" <jane.chu@...cle.com>, "Liam.Howlett@...cle.com" <Liam.Howlett@...cle.com>, 
	"bp@...en8.de" <bp@...en8.de>, "hannes@...xchg.org" <hannes@...xchg.org>, "jack@...e.cz" <jack@...e.cz>, 
	"joel.granados@...nel.org" <joel.granados@...nel.org>, "laoar.shao@...il.com" <laoar.shao@...il.com>, 
	"lorenzo.stoakes@...cle.com" <lorenzo.stoakes@...cle.com>, 
	"mclapinski@...gle.com" <mclapinski@...gle.com>, "mhocko@...e.com" <mhocko@...e.com>, 
	"nao.horiguchi@...il.com" <nao.horiguchi@...il.com>, "osalvador@...e.de" <osalvador@...e.de>, 
	"Wysocki, Rafael J" <rafael.j.wysocki@...el.com>, "rppt@...nel.org" <rppt@...nel.org>, 
	"Anderson, Russ" <russ.anderson@....com>, "surenb@...gle.com" <surenb@...gle.com>, 
	"vbabka@...e.cz" <vbabka@...e.cz>, "linux-acpi@...r.kernel.org" <linux-acpi@...r.kernel.org>, 
	"linux-doc@...r.kernel.org" <linux-doc@...r.kernel.org>, 
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>, 
	"linux-kselftest@...r.kernel.org" <linux-kselftest@...r.kernel.org>, "linux-mm@...ck.org" <linux-mm@...ck.org>
Subject: Re: [PATCH v2] mm/memory-failure: Support disabling soft offline for
 HugeTLB pages

On Thu, Sep 18, 2025 at 1:34 AM Shuai Xue <xueshuai@...ux.alibaba.com> wrote:
>
>
>
> 在 2025/9/18 02:59, Kyle Meyer 写道:
> > 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
>
>
> Hi, Shawn,
>
> As memory access is typically interleaved between channels. When the
> per-rank threshold is exceeded, soft-offlining the last accessed address
> seems unreasonable - regardless of whether it's a 4KB page or a huge
> page. The error accumulation happens at the rank level, but the action
> is taken on a specific page that happened to trigger the threshold,
> which doesn't address the underlying issue.

Does it mean the soft offline action taken by the kernel is almost
useless from hw's PoV? Or, the current signals/info about the
corrected errors kernel get from firmware are insufficient to make the
kernel do anything meaningful?

>
> I prefer the first option that disabling all soft offline requests from
> GHES driver.
>
> Thanks.
> Shuai

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ