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

From: Xu, Yanfei
Date: Sat Jul 10 2021 - 02:58:26 EST




On 7/9/21 8:22 PM, Mel Gorman wrote:
[Please note: This e-mail is from an EXTERNAL e-mail address]

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")


This is a different return location from you posted.

--
Mel Gorman
SUSE Labs