Linux-mm Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "David Hildenbrand (Arm)" <david@kernel.org>
To: Harry Yoo <harry@kernel.org>, David Rientjes <rientjes@google.com>
Cc: Amit Shah <amit@infradead.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	Aneesh Kumar <AneeshKumar.KizhakeVeetil@arm.com>,
	Christoph Lameter <christoph@gentwo.org>,
	Dave Hansen <dave.hansen@intel.com>,
	Davidlohr Bueso <dave@stgolabs.net>,
	Hugh Dickins <hughd@google.com>,
	Johannes Weiner <hannes@cmpxchg.org>,
	John Hubbard <jhubbard@nvidia.com>,
	Kirill Shutemov <k.shutemov@gmail.com>,
	Matthew Wilcox <willy@infradead.org>,
	Mel Gorman <mel.gorman@gmail.com>, Michal Hocko <mhocko@suse.com>,
	Mike Rapoport <mike.rapoport@gmail.com>,
	Peter Xu <peterx@redhat.com>, Raghavendra K T <rkodsara@amd.com>,
	"Rao, Bharata Bhasker" <bharata@amd.com>,
	Rik van Riel <riel@surriel.com>,
	Roman Gushchin <roman.gushchin@linux.dev>,
	Shakeel Butt <shakeel.butt@linux.dev>,
	Shivank Garg <shivankg@amd.com>,
	Sterling Alexander <stalexan@redhat.com>,
	Suren Baghdasaryan <surenb@google.com>, Tejun Heo <tj@kernel.org>,
	Vlastimil Babka <vbabka@kernel.org>,
	Yang Shi <shy828301@gmail.com>, Zi Yan <ziy@nvidia.com>,
	William Roche <william.roche@oracle.com>,
	linmiaohe@huawei.com, ljs@kernel.org, osalvador@kernel.org,
	nao.horiguchi@gmail.com, tony.luck@intel.com,
	wangkefeng.wang@huawei.com, jane.chu@oracle.com,
	muchun.song@linux.dev, liam@infradead.org, shuah@kernel.org,
	boudewijn@delta-utec.com, linux-mm@kvack.org,
	Breno Leitao <leitao@debian.org>
Subject: Re: [Invitation] Linux MM Alignment Session on Hwpoison on Wednesday
Date: Wed, 23 Sep 2026 15:37:14 +0200	[thread overview]
Message-ID: <42221bdb-44f9-4c86-a572-1d1372026836@kernel.org> (raw)
In-Reply-To: <arPElEV0zDhXrteb@thinkstation>

On 9/23/26 14:57, Harry Yoo wrote:
> On Mon, Sep 21, 2026 at 09:26:22AM -0700, David Rientjes wrote:
>> Hi everybody,
>>
>> We host a biweekly series, the Linux MM Alignment Session, on Wednesdays.
>> We'd like to invite MM developers to attend and will announce the topic
>> for the next instance on the Monday prior to the next meeting.
>>
>> Our next Linux MM Alignment Session is scheduled for Wednesday.  The
>> details:
>>
>> Wednesday, September 23 * 9:00 - 10:00am PDT (UTC-7)
>> https://meet.google.com/csb-wcds-xya
>> backup: https://tel.meet/csb-wcds-xya?pin=1301132214803
>> doc:
>> https://docs.google.com/document/d/1QQfZFPHa-pGEGf4A06cSqS0jdJwuZ8ro9JU5H0YSUQ0/view
>>
>> This week's topic will be Hwpoison, see the discussion in 
>> https://marc.info/?l=linux-kernel&m=178796007385067&w=2
>>
>> No specific agenda other than to gather core MM developers with hwpoison
>> developers and discuss:
>>  - where validation should live, esp with regard to the page allocator, or
>>    strict invariants in the page allocator
>>    + implications for the fastpath
>>  - handling for folios of arbitary orders
>>  - handling partial folio poisoning and split failures
>>  - race conditions between memory_failure() and concurrent
>>    alloc/free/compaction
>>  - soft offline for pages in the pcp lists
> 
> [+Cc Breno]
> 
> This might be worth some attention:
> 
>   [PATCH v5 0/9] mm/memory-failure: keep hardware-poisoned pages out of the next kexec
>   https://lore.kernel.org/linux-mm/20260915-hwpoison-kho-v5-0-3bc7a57bd503@debian.org/
> 
>   - The question: How best can we pass information about poisoned pages
>     across kexec when the kernel accesses a poisoned page, panics and
>     calls kexec, so that the next kernel avoids hitting the poisoned
>     pages again?
> 
>     One challenge here is introducing another source (a new EFI bitmap
>     that represents poisoned memory, in addition to existing
>     PG_hwpoison) of poisoned pages adds complexity and confusion.
> 
>     David Hildenbrand suggested that we should simplify this as much
>     as possible in a way that we don't have two sources of information
>     w/ inconsistency between them and using memmap as the only source.
> 
>     e.g.) By consuming the EFI bitmap only once when initializing
>     memmap (to propagate poison information to not just free pages
>     through __free_pages_core(), but to the all pages on memmap).
> 
>     Another challenge here is that we don't have functionality
>     to poison pages early in the boot process before memmap and buddy
>     are ready. So any allocation before initializing them might still
>     allocate poisoned pages.

I've been thinking some more (and will reply in detail to the series), but I do
wonder whether memblock should actually be thought about poisoned ranges and
refuse to hand them out (reserved/allocated).

So we'd use the bitmap only to feed memblock, but not for anything else later
(if possible).

-- 
Cheers,

David


  reply	other threads:[~2026-09-23 13:37 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-21 16:26 [Invitation] Linux MM Alignment Session on Hwpoison on Wednesday David Rientjes
2026-09-23 12:57 ` Harry Yoo
2026-09-23 13:37   ` David Hildenbrand (Arm) [this message]
2026-09-23 14:36     ` Harry Yoo
2026-09-24  8:32       ` David Hildenbrand (Arm)
2026-09-24 10:46         ` Kiryl Shutsemau
2026-09-24 10:55           ` David Hildenbrand (Arm)
2026-09-24 11:19             ` Kiryl Shutsemau
2026-09-24 11:23               ` David Hildenbrand (Arm)

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=42221bdb-44f9-4c86-a572-1d1372026836@kernel.org \
    --to=david@kernel.org \
    --cc=AneeshKumar.KizhakeVeetil@arm.com \
    --cc=akpm@linux-foundation.org \
    --cc=amit@infradead.org \
    --cc=bharata@amd.com \
    --cc=boudewijn@delta-utec.com \
    --cc=christoph@gentwo.org \
    --cc=dave.hansen@intel.com \
    --cc=dave@stgolabs.net \
    --cc=hannes@cmpxchg.org \
    --cc=harry@kernel.org \
    --cc=hughd@google.com \
    --cc=jane.chu@oracle.com \
    --cc=jhubbard@nvidia.com \
    --cc=k.shutemov@gmail.com \
    --cc=leitao@debian.org \
    --cc=liam@infradead.org \
    --cc=linmiaohe@huawei.com \
    --cc=linux-mm@kvack.org \
    --cc=ljs@kernel.org \
    --cc=mel.gorman@gmail.com \
    --cc=mhocko@suse.com \
    --cc=mike.rapoport@gmail.com \
    --cc=muchun.song@linux.dev \
    --cc=nao.horiguchi@gmail.com \
    --cc=osalvador@kernel.org \
    --cc=peterx@redhat.com \
    --cc=riel@surriel.com \
    --cc=rientjes@google.com \
    --cc=rkodsara@amd.com \
    --cc=roman.gushchin@linux.dev \
    --cc=shakeel.butt@linux.dev \
    --cc=shivankg@amd.com \
    --cc=shuah@kernel.org \
    --cc=shy828301@gmail.com \
    --cc=stalexan@redhat.com \
    --cc=surenb@google.com \
    --cc=tj@kernel.org \
    --cc=tony.luck@intel.com \
    --cc=vbabka@kernel.org \
    --cc=wangkefeng.wang@huawei.com \
    --cc=william.roche@oracle.com \
    --cc=willy@infradead.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