[PATCH v3 0/2] Fix budget tracking on preemption of SCHED_QUOTA thread

Philippe Gerum <[email protected]> Sat, 20 Jun 2026 18:08:43 +0200
Newsgroups dev.linux.lists.xenomai
Message-ID <[email protected]>
From: Philippe Gerum <[email protected]>

Changes since v2:

Reverted the runqueue split, the SCHED_FIFO and SCHED_QUOTA threads
_must_ share the same runqueue in order for the quota-bound threads to
compete for the CPU with plain fifo ones (provided they have runtime
budget).

Philippe Gerum (2):
  evl/sched: core: introduce schedule out handler
  evl/sched: quota: fix budget tracking on preemption

 include/evl/sched.h      |   1 +
 kernel/evl/sched/core.c  |  12 ++-
 kernel/evl/sched/quota.c | 190 +++++++++++++++++++--------------------
 3 files changed, 105 insertions(+), 98 deletions(-)

-- 
2.54.0