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

From: Mel Gorman
Date: Tue Jul 13 2021 - 08:14:12 EST


On Sat, Jul 10, 2021 at 02:58:02PM +0800, Xu, Yanfei wrote:
>
>
> 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.
>

You're right, I'll pick this up and stage it with a series of patches
that should have gone in during the merge window but were too late.

Thanks.

--
Mel Gorman
SUSE Labs