Re: [PATCH] mm, soft-offline: convert parameter to pfn

From: Oscar Salvador
Date: Thu Oct 17 2019 - 04:03:27 EST


On Thu, Oct 17, 2019 at 07:50:18AM +0000, Naoya Horiguchi wrote:
> Actually I guess that !pfn_valid() never happens when called from
> madvise_inject_error(), because madvise_inject_error() gets pfn via
> get_user_pages_fast() which only returns valid page for valid pfn.
>
> And we plan to remove MF_COUNT_INCREASED by Oscar's re-design work,
> so I start feeling that this patch should come on top of his tree.

Hi Naoya,

I am pretty much done with my testing.
If you feel like, I can take the patch and add it on top of [1]
, then I will do some more testing and, if nothing pops up, I will
send it upstream.

[1] https://github.com/leberus/linux/tree/hwpoison-v2

>
> Thanks,
> Naoya Horiguchi

--
Oscar Salvador
SUSE L3