All of lore.kernel.org
 help / color / mirror / Atom feed
From: Catalin Marinas <catalin.marinas@arm.com>
To: Breno Leitao <leitao@debian.org>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	linux-mm@kvack.org, linux-kernel@vger.kernel.org,
	kernel-team@meta.com
Subject: Re: [PATCH 1/2] mm: kmemleak: move the struct page scan into a helper
Date: Tue, 22 Sep 2026 10:47:49 +0100	[thread overview]
Message-ID: <arJOxbz_phnaqWD-@arm.com> (raw)
In-Reply-To: <20260921-b4-kmemleak-page-scan-v1-1-fb97d4801b3a@debian.org>

On Mon, Sep 21, 2026 at 05:30:26AM -0700, Breno Leitao wrote:
> The struct page scanning loop sits inline in __kmemleak_scan(), nested
> three levels deep and sharing the caller's "stop" variable with the
> zone walk around it. Move it into scan_zone_pages(), which scans one
> zone and returns 1 if scanning should stop.
> 
> No functional change; this only makes room for changing how the pages
> are handed to scan_block().
> 
> Signed-off-by: Breno Leitao <leitao@debian.org>

Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>


  reply	other threads:[~2026-09-22  9:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-21 12:30 [PATCH 0/2] mm: kmemleak: batch the struct page scan Breno Leitao
2026-09-21 12:30 ` [PATCH 1/2] mm: kmemleak: move the struct page scan into a helper Breno Leitao
2026-09-22  9:47   ` Catalin Marinas [this message]
2026-09-21 12:30 ` [PATCH 2/2] mm: kmemleak: scan the struct page array in MAX_SCAN_SIZE batches Breno Leitao
2026-09-22  9:51   ` Catalin Marinas
2026-09-23  1:39     ` Andrew Morton
2026-09-23 10:47       ` Catalin Marinas

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=arJOxbz_phnaqWD-@arm.com \
    --to=catalin.marinas@arm.com \
    --cc=akpm@linux-foundation.org \
    --cc=kernel-team@meta.com \
    --cc=leitao@debian.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.