From: "Alexei Starovoitov" <alexei.starovoitov@gmail.com>
To: "Maxim Khmelevskii" <max@linux.ibm.com>,
"Andrii Nakryiko" <andrii@kernel.org>,
"Daniel Borkmann" <daniel@iogearbox.net>
Cc: <bpf@vger.kernel.org>, "Ilya Leoshkevich" <iii@linux.ibm.com>,
"Heiko Carstens" <hca@linux.ibm.com>,
"Vasily Gorbik" <gor@linux.ibm.com>,
"Alexander Gordeev" <agordeev@linux.ibm.com>
Subject: Re: [PATCH bpf-next v2] selftests/bpf: Fix flaky refcount asserts in map_kptr_race
Date: Fri, 04 Dec 2026 18:31:02 +0000 [thread overview]
Message-ID: <DNC5V6OSW0WI.2U3ZMM1CQDZEN@gmail.com> (raw)
In-Reply-To: <20261204153138.31801-2-max@linux.ibm.com>
On Fri, Dec 04, 2026 at 07:31 AM Maxim Khmelevskii <max@linux.ibm.com> wrote:
> bpf_testmod shares objects across tests; prog_test_struct that holds
> cnt.refs.counter is one of them. Refcounter release is deferred behind
> an RCU grace period, so it may still be pending when this test asserts.
It should be fixed already. See
commit 2ad395a38471 ("selftests/bpf: Wait for the last maps of map_kptr
to be freed")
pw-bot: cr
prev parent reply other threads:[~2026-12-04 18:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-04 15:31 [PATCH bpf-next v2] selftests/bpf: Fix flaky refcount asserts in map_kptr_race Maxim Khmelevskii
2026-12-04 15:50 ` sashiko-bot
2026-12-04 18:31 ` Alexei Starovoitov [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=DNC5V6OSW0WI.2U3ZMM1CQDZEN@gmail.com \
--to=alexei.starovoitov@gmail.com \
--cc=agordeev@linux.ibm.com \
--cc=andrii@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=daniel@iogearbox.net \
--cc=gor@linux.ibm.com \
--cc=hca@linux.ibm.com \
--cc=iii@linux.ibm.com \
--cc=max@linux.ibm.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