Re: [PATCH v2 2/2] mm/memory-failure.c: Don't access uninitialized memmaps in memory_failure()
From: Oscar Salvador
Date: Tue Oct 15 2019 - 10:23:50 EST
On Mon, Oct 14, 2019 at 03:36:17PM +0200, Michal Hocko wrote:
> I do agree. The two should be really using the same code. My
> understanding was that MADV_HWPOISON was there to test the actual MCE
> behavior (and the man page seems to agree with that).
> Oscar is working on a rewrite. Not sure he has considered this as well.
Yeah, I came across hwpoison-inject module when doing my re-write,
and I felt like this is begging for a clean up.
Since unpoison_memory needs some adjustments after my re-write, I will go ahead
and clean that up, otherwise it will be inconsistent.
I expect to be ready fo send the v2 by the end of this week.