lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ