From: Shinichiro Kawasaki <shinichiro.kawasaki@wdc.com>
To: "linux-block@vger.kernel.org" <linux-block@vger.kernel.org>
Subject: Re: [PATCH blktests] check: check kmemleak before test run start
Date: Fri, 20 Mar 2026 06:47:26 +0000 [thread overview]
Message-ID: <abztIkelWzNHC1jB@shinmob> (raw)
In-Reply-To: <20260313121855.3666215-1-shinichiro.kawasaki@wdc.com>
On Mar 13, 2026 / 21:18, Shin'ichiro Kawasaki wrote:
> When the kernel enables kmemleak, the check script scans for memory
> leaks at the end of every test case run. However, if memory has already
> leaked before the blktests test run starts, the leak is detected at the
> end of the first test case. This makes it look as if the leak happend
> during the firest test case, which is confusing.
>
> To avoid this, check for memory leaks once before staring blktests. If
> any leaks are found, report them separately.
>
> Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
FYI, I applied this patch.
prev parent reply other threads:[~2026-03-20 6:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-13 12:18 [PATCH blktests] check: check kmemleak before test run start Shin'ichiro Kawasaki
2026-03-20 6:47 ` Shinichiro Kawasaki [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=abztIkelWzNHC1jB@shinmob \
--to=shinichiro.kawasaki@wdc.com \
--cc=linux-block@vger.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