From: Luis Chamberlain <mcgrof@kernel.org>
To: Vincent Donnefort <vdonnefort@google.com>
Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org,
kernel-team@android.com, Song Liu <song@kernel.org>,
Catalin Marinas <catalin.marinas@arm.com>
Subject: Re: [PATCH v2] module: Refine kmemleak scanned areas
Date: Wed, 11 Sep 2024 11:20:00 -0700 [thread overview]
Message-ID: <ZuHfUMgpNyPwuGmQ@bombadil.infradead.org> (raw)
In-Reply-To: <20240910073123.2362028-1-vdonnefort@google.com>
On Tue, Sep 10, 2024 at 08:31:23AM +0100, Vincent Donnefort wrote:
> commit ac3b43283923 ("module: replace module_layout with module_memory")
> introduced a set of memory regions for the module layout sharing the
> same attributes. However, it didn't update the kmemleak scanned areas
> which intended to limit kmemleak scan to sections containing writable
> data. This means sections such as .text and .rodata are scanned by
> kmemleak.
>
> Refine the scanned areas for modules by limiting it to MOD_TEXT and
> MOD_INIT_TEXT mod_mem regions.
>
> CC: Song Liu <song@kernel.org>
> Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
> Signed-off-by: Vincent Donnefort <vdonnefort@google.com>
Applied and pushed, thanks!
Luis
prev parent reply other threads:[~2024-09-11 18:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-10 7:31 [PATCH v2] module: Refine kmemleak scanned areas Vincent Donnefort
2024-09-11 18:20 ` Luis Chamberlain [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=ZuHfUMgpNyPwuGmQ@bombadil.infradead.org \
--to=mcgrof@kernel.org \
--cc=catalin.marinas@arm.com \
--cc=kernel-team@android.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-modules@vger.kernel.org \
--cc=song@kernel.org \
--cc=vdonnefort@google.com \
/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;
as well as URLs for NNTP newsgroup(s).