From: Wei Yang <richard.weiyang@gmail.com>
To: Mike Rapoport <rppt@kernel.org>
Cc: Wei Yang <richard.weiyang@gmail.com>,
akpm@linux-foundation.org, linux-mm@kvack.org
Subject: Re: [PATCH 2/2] mm/mm_init.c: count nr_initialised only for last zone
Date: Fri, 24 May 2024 00:59:17 +0000 [thread overview]
Message-ID: <20240524005917.c2iwzwhe4f7d76uf@master> (raw)
In-Reply-To: <Zk9YVedELgvhwRa7@kernel.org>
On Thu, May 23, 2024 at 05:53:09PM +0300, Mike Rapoport wrote:
>On Wed, May 22, 2024 at 07:29:59AM +0000, Wei Yang wrote:
>> Since we always populate low zones, it is not necessary to count
>> nr_initialised for them. Let's move the last zone check ahead to skip
>> the nr_initialised reset.
>
>We also don't need to count initialized pfns after first_deferred_pfn is
>detected, so the reset of nr_initialised can be moved even lower.
>
Agree, will update in v2.
--
Wei Yang
Help you, Help me
prev parent reply other threads:[~2024-05-24 0:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-22 7:29 [PATCH 1/2] mm/mm_init.c: use memblock_region_memory_base_pfn() to get startpfn Wei Yang
2024-05-22 7:29 ` [PATCH 2/2] mm/mm_init.c: count nr_initialised only for last zone Wei Yang
2024-05-23 14:53 ` Mike Rapoport
2024-05-24 0:59 ` Wei Yang [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=20240524005917.c2iwzwhe4f7d76uf@master \
--to=richard.weiyang@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=linux-mm@kvack.org \
--cc=rppt@kernel.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