Re: [PATCH v5 0/3] mm: Implement ECC handling for pfn with no struct page

From: Andrew Morton

Date: Mon Nov 03 2025 - 21:48:18 EST


On Sun, 2 Nov 2025 18:44:31 +0000 <ankita@xxxxxxxxxx> wrote:

> Poison (or ECC) errors can be very common on a large size cluster.
> The kernel MM currently handles ECC errors / poison only on memory page
> backed by struct page. The handling is currently missing for the PFNMAP
> memory that does not have struct pages. The series adds such support.
>
> Implement a new ECC handling for memory without struct pages. Kernel MM
> expose registration APIs to allow modules that are managing the device
> to register its device memory region. MM then tracks such regions using
> interval tree.

Thanks. My knowledge of this material is weaker than usual :( But the
series looks good to my eye so I'll toss it into mm.git's mm-new branch
for some testing exposure. If that goes OK then I'll later move it
into the mm-unstable branch where it will get linux-next esposure. At
that point I'll monitor reviewer and tester feedback (please).