Re: [PATCH] mm: Unsigned 'nr_pages' always larger than zero

From: Vlastimil Babka
Date: Thu Sep 05 2019 - 03:19:41 EST


On 9/5/19 8:18 AM, zhong jiang wrote:
> On 2019/9/5 2:48, Andrew Morton wrote:
> Firstly, I consider the some modified method as you has writen down above. It seems to work well.
> According to Vlastimil's feedback, I repost the patch in v2, changing the parameter to long to fix
> the issue. which one do you prefer?

Please forget about my suggestion to change parameter to long, it was
wrong. New variable is better.

> Thanks,
> zhong jiang
>