Re: [PATCH 5/5] dax: "Hotplug" persistent memory for use like normal RAM

From: Michal Hocko
Date: Mon Jan 28 2019 - 04:25:55 EST


On Fri 25-01-19 11:15:08, Dan Williams wrote:
[...]
> However, we should consider this along with the userspace enabling to
> control which device-dax instances are set aside for hotplug. It would
> make sense to have a "clear errors before hotplug" configuration
> option.

I am not sure I understand. Do you mean to clear HWPoison when the
memory is hotadded (add_pages) or onlined (resp. move_pfn_range_to_zone)?
--
Michal Hocko
SUSE Labs