Messages in this thread | | | Date | Thu, 11 Feb 2021 09:06:17 +0100 | From | Oscar Salvador <> | Subject | Re: [PATCH v1] mm, hwpoison: enable error handling on shmem thp |
| |
On Tue, Feb 09, 2021 at 03:21:28PM +0900, Naoya Horiguchi wrote: > From: Naoya Horiguchi <naoya.horiguchi@nec.com> > > 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. > > Signed-off-by: Naoya Horiguchi <naoya.horiguchi@nec.com>
Looks good to me, thanks Naoya:
Reviewed-by: Oscar Salvador <osalvador@suse.de>
-- Oscar Salvador SUSE L3
| |