public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: linuxtestproject.agent@gmail.com
To: Soma Das <somadas1@linux.ibm.com>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] sched_football: fix false failures on many-CPU systems
Date: Tue, 14 Apr 2026 16:59:56 +0000	[thread overview]
Message-ID: <20260414165956.4038-1-linuxtestproject.agent@gmail.com> (raw)
In-Reply-To: <53f26493-09fc-4f8b-9751-24d2c2e80697@linux.ibm.com>

Hi Soma,

On Sun, 12 Apr 2026 13:13:08 +0000, Soma Das wrote:
> sched_football: fix false failures on many-CPU systems
>
> On large SMP systems with CONFIG_RT_GROUP_SCHED=n, four independent
> issues cause false failures.
>
> 1. RT throttling...
> 2. Offense and defense threads were unpinned...
> 3. game_over was never reset between iterations...
> 4. sched_setscheduler() failure for the referee was silently ignored.

The commit message itself describes these as four independent issues.
Please split into four separate commits so bisection and backporting
work correctly. At minimum, fixes 3 (game_over reset between -i
iterations) and 4 (sched_setscheduler error check) are fully orthogonal
to the RT-throttling and CPU-affinity changes and must be separate
patches.

[...]

> +	SAFE_FILE_SCANF("/proc/sys/kernel/sched_rt_runtime_us", "%ld",
> +			&saved_rt_runtime_us);
> ...
> +	SAFE_FILE_PRINTF("/proc/sys/kernel/sched_rt_runtime_us", "%ld", -1L);

Consider using .save_restore in struct tst_test instead of manual
save/restore in setup/cleanup — it is the idiomatic LTP approach for
/proc/sys knobs.

---
Note:

Our agent completed the review of the patch. The agent can sometimes
produce false positives although often its findings are genuine. If you
find issues with the review, please comment this email or ignore the
suggestions.

Regards,
LTP AI Reviewer

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

      parent reply	other threads:[~2026-04-14 17:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-12 13:05 [LTP] [PATCH] sched_football: fix false failures on many-CPU systems Soma Das
2026-04-14 15:54 ` Jan Polensky
2026-04-15  9:52   ` Li Wang
2026-04-15 15:20     ` Jan Polensky
2026-04-15 20:21       ` John Stultz via ltp
2026-04-16  3:23         ` Li Wang
2026-04-16  5:53           ` Li Wang
2026-04-16  8:26             ` Soma Das
2026-04-16  8:40               ` Li Wang
2026-04-14 16:59 ` linuxtestproject.agent [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=20260414165956.4038-1-linuxtestproject.agent@gmail.com \
    --to=linuxtestproject.agent@gmail.com \
    --cc=ltp@lists.linux.it \
    --cc=somadas1@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