Re: [PATCH 1/2] mm/page_alloc: correct return value when failing at preparing

From: Mel Gorman
Date: Fri Jul 09 2021 - 08:22:30 EST


On Fri, Jul 09, 2021 at 06:28:54PM +0800, Yanfei Xu wrote:
> If the array passed in is already partially populated, we should
> return "nr_populated" even failing at preparing arguments stage.
>
> Signed-off-by: Yanfei Xu <yanfei.xu@xxxxxxxxxxxxx>

ff4b2b4014cb ("mm/page_alloc: correct return value of populated elements if bulk array is populated")

--
Mel Gorman
SUSE Labs