Re: [PATCH] mm/hwpoison: fix race between soft_offline_page and unpoison_memory

From: Wanpeng Li
Date: Mon Aug 17 2015 - 01:29:47 EST


On 8/17/15 12:32 PM, Naoya Horiguchi wrote:
> [...]
> OK, so I wrote the next version against mmotm-2015-08-13-15-29 (replied to
> this email.) It moves PageSetHWPoison part into migration code, which should
> close up the reported race window and minimize the another revived race window
> of reusing offlined pages, so I feel that it's a good compromise between two
> races.
>
> My testing shows no kernel panic with these patches (same testing easily caused
> panics for bare mmotm-2015-08-13-15-29,) so they should work. But I'm appreciated
> if you help double checking.

This patchset looks good to me after some stress testing.

Andrew,

Could we pick it in order to catch up upcoming merge window? :-)

Regards,
Wanpeng Li

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/