Re: [RFC] HWPOISON: soft offlining for non-lru movable page

From: Naoya Horiguchi
Date: Sun Jan 22 2017 - 23:45:24 EST


On Fri, Jan 20, 2017 at 05:52:13PM +0800, Yisheng Xie wrote:
> Hi Naoya,
>
> On 2017/1/18 17:45, Naoya Horiguchi wrote:
> > On Wed, Jan 18, 2017 at 12:00:54PM +0800, Yisheng Xie wrote:
> >> This patch is to extends soft offlining framework to support
> >> non-lru page, which already support migration after
> >> commit bda807d44454 ("mm: migrate: support non-lru movable page
> >> migration")
> >>
> >> When memory corrected errors occur on a non-lru movable page,
> >> we can choose to stop using it by migrating data onto another
> >> page and disable the original (maybe half-broken) one.
> >>
> >> Signed-off-by: Yisheng Xie <xieyisheng1@xxxxxxxxxx>
> >
> > It looks OK in my quick glance. I'll do some testing more tomorrow.
> >
> Thanks for reviewing.
> I have do some basic test like offline movable page and unpoison it.
> Do you have some test suit or test suggestion? So I can do some more
> test of it for double check? Very thanks for that.

I've tried soft offline on zram pages with your v2 patch, and it works fine.
I have no specific suggestion about other testcases.

Thanks,
Naoya Horiguchi