All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Gerum <rpm@xenomai.org>
To: Jan Kiszka <jan.kiszka@siemens.com>
Cc: Xenomai <xenomai@lists.linux.dev>
Subject: Re: libevl: sched-quota test lacks success check
Date: Thu, 03 Sep 2026 09:20:33 +0200	[thread overview]
Message-ID: <878q5issvy.fsf@xenomai.org> (raw)
In-Reply-To: <86d6990a-349c-42f3-a054-494422298386@siemens.com> (Jan Kiszka's message of "Mon, 31 Aug 2026 14:48:01 +0200")

Jan Kiszka <jan.kiszka@siemens.com> writes:

> Hi Philippe,
>
> trying to port the sched-quota fixes back to xenomai 3, I had a look at
> again at the libevl test. And since [1], it always succeeds (unless some
> function returns an error), no more checking of percentage boundaries.
> That's not helpful for CI, though. Would it make sense to re-introduce
> this, just with an exception for VM hosts? That what we do in xenomai3.
>
> Jan
>
> [1]
> https://gitlab.com/Xenomai/xenomai4/libevl/-/commit/22ed65d951dd49b159e52c498dda49b2492138f7

Yes, I'd be fine with that, although the acceptable score could be
arguably different even across hw platforms, so we would have to pick a
conservative value to declare success/failure unless the test adapts
based on some heuristics. This said, I agree that running_on_vm() is our
friend to fully disable such check only on VM since the figure does not
make much sense there.

-- 
Philippe.

      parent reply	other threads:[~2026-09-03  7:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-31 12:48 libevl: sched-quota test lacks success check Jan Kiszka
2026-08-31 14:46 ` Jan Kiszka
2026-09-03  7:20 ` Philippe Gerum [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=878q5issvy.fsf@xenomai.org \
    --to=rpm@xenomai.org \
    --cc=jan.kiszka@siemens.com \
    --cc=xenomai@lists.linux.dev \
    /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.