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. Thanks -- Oscar Salvador SUSE L3