Thread (7 messages) 7 messages, 3 authors, 2020-08-11

Re: [PATCH v6 00/12] HWPOISON: soft offline rework

From: HORIGUCHI NAOYA (堀口 直也) <hidden>
Date: 2020-08-11 03:56:18
Also in: linux-mm, lkml

On Mon, Aug 10, 2020 at 11:45:36PM -0400, Qian Cai wrote:
quoted
On Aug 10, 2020, at 11:11 PM, HORIGUCHI NAOYA(堀口 直也) [off-list ref] wrote:

I'm still not sure why the test succeeded by reverting these because
current mainline kernel provides similar mechanism to prevent reuse of
soft offlined page. So this success seems to me something suspicious.
Even if we call munmap() on the range, it still can’t be be reused? If so, how to recover those memory then?
No, it can't, because soft offline isolates the physical page.
so even after calling munmap(), the side effect remains on the page.
In your random.c, memory online/offline resets the status of hwpoison.
So you can reallocate hugepages in another run of the program.
quoted
To investigate more, I want to have additional info about the page states
of the relevant pages after soft offlining.  Could you collect it by the
following steps?
Do you want to collect those from the failed or succeed kernel?
I'd like to check on the succeeded kernel.
Sorry for the lack of information.

Thanks,
Naoya Horiguchi
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help