Re: [PATCH v1] mm, hwpoison: enable error handling on shmem thp
From: Naoya Horiguchi
Date: Tue Feb 09 2021 - 20:44:49 EST
On Tue, Feb 09, 2021 at 11:46:40AM -0800, Andrew Morton wrote:
> On Tue, 9 Feb 2021 15:21:28 +0900 Naoya Horiguchi <nao.horiguchi@xxxxxxxxx> wrote:
>
> > Currently hwpoison code checks PageAnon() for thp and refuses to handle
> > errors on non-anonymous thps (just for historical reason). We now
> > support non-anonymou thp like shmem one, so this patch suggests to enable
> > to handle shmem thps. Fortunately, we already have can_split_huge_page()
> > to check if a give thp is splittable, so this patch relies on it.
>
> Thanks. We're at -rc7 so I think I'll park this one for 5.12-rc1,
> unless it is more urgent than I believe it to be?
This patch is not so urgent, so I'm fine to make this targeted at 5.12-rc1.
Thanks,
Naoya Horiguchi