[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <34202ae5-efee-9345-c3de-544304d1ebb4@redhat.com>
Date: Wed, 12 Apr 2023 09:58:13 +0200
From: David Hildenbrand <david@...hat.com>
To: Haifeng Xu <haifeng.xu@...pee.com>, akpm@...ux-foundation.org
Cc: willy@...radead.org, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH RESEND] mm/vmscan: simplify shrink_node()
On 11.04.23 08:17, Haifeng Xu wrote:
> The difference between sc->nr_reclaimed and nr_reclaimed is computed
> three times. Introduce a new variable to record the value, so it only
> needs to be computed once.
>
> Signed-off-by: Haifeng Xu <haifeng.xu@...pee.com>
> ---
Reviewed-by: David Hildenbrand <david@...hat.com>
--
Thanks,
David / dhildenb
Powered by blists - more mailing lists