Re: [PATCH 1/3] mm, pcp: Share common code between memory hotplug and percpu sysctl handler

From: Matt Fleming
Date: Fri Oct 18 2019 - 07:57:07 EST


On Fri, 18 Oct, at 11:56:04AM, Mel Gorman wrote:
> Both the percpu_pagelist_fraction sysctl handler and memory hotplug
> have a common requirement of updating the pcpu page allocation batch
> and high values. Split the relevant helper to share common code.
>
> No functional change.
>
> Signed-off-by: Mel Gorman <mgorman@xxxxxxxxxxxxxxxxxxx>
> ---
> mm/page_alloc.c | 23 ++++++++++++-----------
> 1 file changed, 12 insertions(+), 11 deletions(-)

Tested-by: Matt Fleming <matt@xxxxxxxxxxxxxxxxxxx>