mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mike Rapoport <rppt@kernel.org>
To: Sang-Heon Jeon <ekffu200098@gmail.com>
Cc: Mike Rapoport <rppt@kernel.org>,
	 Andrew Morton <akpm@linux-foundation.org>,
	linux-kernel@vger.kernel.org,  linux-mm@kvack.org
Subject: Re: [PATCH] mm/mm_init: remove zone_absent_pages_in_node()
Date: Mon, 31 Aug 2026 10:37:17 +0300	[thread overview]
Message-ID: <178816183737.3691663.7482057515031348878.b4-review@b4> (raw)
In-Reply-To: <20260827144151.486192-1-ekffu200098@gmail.com>

> zone_absent_pages_in_node() returns 0 when the zone is empty and
> otherwise calls __absent_pages_in_range(), which already returns 0 for
> an empty range.

Right, but it loops over memblock memory for an empty zone to get that 0

-- 
Sincerely yours,
Mike.


  reply	other threads:[~2026-08-31  7:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-27 14:41 Sang-Heon Jeon
2026-08-31  7:37 ` Mike Rapoport [this message]
2026-08-31 11:30   ` Sang-Heon Jeon
2026-09-01  6:27     ` Mike Rapoport

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=178816183737.3691663.7482057515031348878.b4-review@b4 \
    --to=rppt@kernel.org \
    --cc=akpm@linux-foundation.org \
    --cc=ekffu200098@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.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

all inboxes | Powered by JetHome®