From: David Hildenbrand <david@redhat.com>
To: Haifeng Xu <haifeng.xu@shopee.com>, akpm@linux-foundation.org
Cc: willy@infradead.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH RESEND] mm/vmscan: simplify shrink_node()
Date: Wed, 12 Apr 2023 09:58:13 +0200 [thread overview]
Message-ID: <34202ae5-efee-9345-c3de-544304d1ebb4@redhat.com> (raw)
In-Reply-To: <20230411061757.12041-1-haifeng.xu@shopee.com>
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@shopee.com>
> ---
Reviewed-by: David Hildenbrand <david@redhat.com>
--
Thanks,
David / dhildenb
prev parent reply other threads:[~2023-04-12 7:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-11 6:17 Haifeng Xu
2023-04-12 7:58 ` David Hildenbrand [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=34202ae5-efee-9345-c3de-544304d1ebb4@redhat.com \
--to=david@redhat.com \
--cc=akpm@linux-foundation.org \
--cc=haifeng.xu@shopee.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=willy@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox