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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Kernel]     [Sparc Linux]     [DCCP]     [Linux ARM]     [Yosemite News]     [Linux SCSI]     [Linux x86_64]     [Linux for Ham Radio]

  Powered by Linux