From: Greg KH <greg@kroah.com>
To: Shung-Hsi Yu <shung-hsi.yu@suse.com>
Cc: stable@vger.kernel.org, Ihor Solodrai <ihor.solodrai@pm.me>,
Andrii Nakryiko <andrii@kernel.org>
Subject: Re: [PATCH stable 6.6 6.12 1/1] selftests/bpf: Check for timeout in perf_link test
Date: Fri, 20 Jun 2025 17:52:03 +0200 [thread overview]
Message-ID: <2025062057-unfounded-refusal-1796@gregkh> (raw)
In-Reply-To: <20250609052941.52073-1-shung-hsi.yu@suse.com>
On Mon, Jun 09, 2025 at 01:29:38PM +0800, Shung-Hsi Yu wrote:
> From: Ihor Solodrai <ihor.solodrai@pm.me>
>
> Recently perf_link test started unreliably failing on libbpf CI:
> * https://github.com/libbpf/libbpf/actions/runs/11260672407/job/31312405473
> * https://github.com/libbpf/libbpf/actions/runs/11260992334/job/31315514626
> * https://github.com/libbpf/libbpf/actions/runs/11263162459/job/31320458251
>
> Part of the test is running a dummy loop for a while and then checking
> for a counter incremented by the test program.
>
> Instead of waiting for an arbitrary number of loop iterations once,
> check for the test counter in a loop and use get_time_ns() helper to
> enforce a 100ms timeout.
>
> v1: https://lore.kernel.org/bpf/zuRd072x9tumn2iN4wDNs5av0nu5nekMNV4PkR-YwCT10eFFTrUtZBRkLWFbrcCe7guvLStGQlhibo8qWojCO7i2-NGajes5GYIyynexD-w=@pm.me/
>
> Signed-off-by: Ihor Solodrai <ihor.solodrai@pm.me>
> Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
> Link: https://lore.kernel.org/bpf/20241011153104.249800-1-ihor.solodrai@pm.me
> Signed-off-by: Shung-Hsi Yu <shung-hsi.yu@suse.com>
> ---
> .../testing/selftests/bpf/prog_tests/perf_link.c | 15 +++++++++++++--
> 1 file changed, 13 insertions(+), 2 deletions(-)
>
<formletter>
This is not the correct way to submit patches for inclusion in the
stable kernel tree. Please read:
https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html
for how to do this properly.
</formletter>
prev parent reply other threads:[~2025-06-20 15:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-09 5:29 [PATCH stable 6.6 6.12 1/1] selftests/bpf: Check for timeout in perf_link test Shung-Hsi Yu
2025-06-11 13:16 ` Sasha Levin
2025-06-20 15:52 ` Greg KH [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=2025062057-unfounded-refusal-1796@gregkh \
--to=greg@kroah.com \
--cc=andrii@kernel.org \
--cc=ihor.solodrai@pm.me \
--cc=shung-hsi.yu@suse.com \
--cc=stable@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 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.