Re: [PATCH 1/3] mm: replace memmap_context by memplug_context

Michal Hocko
2020-09-14T08:59:53Z

On Mon 14-09-20 10:51:06, Laurent Dufour wrote:
> Le 14/09/2020 à 10:49, Michal Hocko a écrit :
[...]
> > /*
> > * Memory initialization context, use to differentiate memory added by
> > * the platform statically or via memory hotplug interface.
> > */
> > enum meminit_context {
> > MEMINIT_EARLY,
> > MEMINIT_HOTPLUG
> > }
> >
>
> Sounds good too.
> What about its definition's place, in include/mm/zone.h as David suggested ?

Yes. This shouldn't be in the hotplug proper.

--
Michal Hocko
SUSE Labs