RE: [PATCH -next] mm: hwpoison: support recovery from HugePage copy-on-write faults
From: Luck, Tony
Date: Wed Apr 12 2023 - 20:47:50 EST
> I do not think cc:stable is necessary/desirable. Why?
>
> a873dfe1032a was an enhancement to better handle copying pages with memory
> errors in the kernel. IIUC, we never handled that situation in the past.
> I would not call the fact that it did not take hugetlb into account a bug.
> Although, some might argue that it should have addressed all callers of
> copy_user_highpage which would have included hugetlb. IMO, There would be
> little to gain by backporing to 6.1 as the issue of copying pages with
> errors has existed forever. Perhaps Tony will comment as I was not involved
> in a873dfe1032a.
I concur. We are gradually fixing more cases where Linux consumes
poison data in kernel context. But this is an incremental process to
improve overall reliability. Backporting to stable and long term releases
isn't a priority.
-Tony