Re: Memory hotplug failed to offline on bare metal system of multiple nodes

From: Michal Hocko
Date: Thu Nov 01 2018 - 05:58:38 EST


On Thu 01-11-18 17:42:43, Baoquan He wrote:
> On 11/01/18 at 10:22am, Michal Hocko wrote:
> > > I haven't figured out why the above commit caused those memmory
> > > block in MOVABL zone being not removable. Still checking. Attach the
> > > tested reverting patch in this mail.
> >
> > Could you check which of the test inside has_unmovable_pages claimed the
> > failure? Going back to marking movable_zone as guaranteed to offline is
> > just too fragile.
>
> Sure, will add debugging code and check. Will update if anything found.

Please dump the whole struct page state for the failing pfn.
--
Michal Hocko
SUSE Labs