Re: [PATCH v6 04/12] mm/hotplug: Prepare shrink_{zone, pgdat}_span for sub-section removal
From: Pavel Tatashin
Date: Thu May 02 2019 - 15:19:13 EST
On Wed, Apr 17, 2019 at 2:53 PM Dan Williams <dan.j.williams@xxxxxxxxx> wrote:
>
> Sub-section hotplug support reduces the unit of operation of hotplug
> from section-sized-units (PAGES_PER_SECTION) to sub-section-sized units
> (PAGES_PER_SUBSECTION). Teach shrink_{zone,pgdat}_span() to consider
> PAGES_PER_SUBSECTION boundaries as the points where pfn_valid(), not
> valid_section(), can toggle.
>
> Cc: Michal Hocko <mhocko@xxxxxxxx>
> Cc: Vlastimil Babka <vbabka@xxxxxxx>
> Cc: Logan Gunthorpe <logang@xxxxxxxxxxxx>
> Signed-off-by: Dan Williams <dan.j.williams@xxxxxxxxx>
> ---
> include/linux/mmzone.h | 2 ++
> mm/memory_hotplug.c | 16 ++++++++--------
> 2 files changed, 10 insertions(+), 8 deletions(-)
given removing all unused "*ms"
Reviewed-by: Pavel Tatashin <pasha.tatashin@xxxxxxxxxx>