Re: [RFC PATCH 2/3] mm, memory_hotplug: deobfuscate migration part of offlining

From: Michal Hocko
Date: Tue Nov 20 2018 - 10:18:10 EST


On Tue 20-11-18 16:13:35, Oscar Salvador wrote:
>
> > Signed-off-by: Michal Hocko <mhocko@xxxxxxxx>
> [...]
> > + do {
> > + for (pfn = start_pfn; pfn;)
> > + {
> > + /* start memory hot removal */
>
> Should we change thAT comment? I mean, this is not really the hot-
> removal stage.
>
> Maybe "start memory migration" suits better? or memory offlining?

I will just drop it. It doesn't really explain anything.
[...]
>
> This indeed looks much nicer and it is easier to follow.
> With the changes commented by David:
>
> Reviewed-by: Oscar Salvador <osalvador@xxxxxxx>

Thanks!

--
Michal Hocko
SUSE Labs