From: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
To: juri.lelli@redhat.com, peterz@infradead.org, mingo@redhat.com,
vincent.guittot@linaro.org
Cc: linux-kernel@vger.kernel.org,
Mathieu Desnoyers <mathieu.desnoyers@efficios.com>,
tglx@kernel.org, will@kernel.org, boqun@kernel.org,
dietmar.eggemann@arm.com, rostedt@goodmis.org,
bsegall@google.com, mgorman@suse.de, vschneid@redhat.com,
kprateek.nayak@amd.com, luca.abeni@santannapisa.it,
mathieu.poirier@linaro.org, longman@redhat.com,
ridong.chen@linux.dev, tj@kernel.org, hannes@cmpxchg.org,
mkoutny@suse.com, shuah@kernel.org, bigeasy@linutronix.de,
clrkwllms@kernel.org, parri.andrea@gmail.com,
m.szyprowski@samsung.com, kayracizmeci@gmail.com,
weihengqiuu@gmail.com, cgroups@vger.kernel.org,
linux-kselftest@vger.kernel.org, linux-rt-devel@lists.linux.dev,
stable@vger.kernel.org
Subject: [PATCH v7 30/40] cgroup/cpuset: Refuse to take a deadline task out of its root domain
Date: Tue, 17 Nov 2026 09:10:51 -0500 [thread overview]
Message-ID: <02cf107f71ca43f00fef41f133513af69be36810.1794922146.git.mathieu.desnoyers@efficios.com> (raw)
In-Reply-To: <cover.1794922146.git.mathieu.desnoyers@efficios.com>
A cpuset attach asks the destination root domain for room before it
moves a deadline task there. A change of the CPUs of a cpuset asks
nothing. validate_change() only checks that a partition root keeps
enough capacity for its deadline bandwidth. That check comes from
commit f82f80426f7a ("sched/deadline: Ensure that updates to exclusive
cpusets don't break AC").
With isolcpus="domain", a cpuset that is not a partition root can hold
housekeeping CPUs and isolated CPUs, which are in two root domains. Two
changes can take every CPU of one root domain away from that cpuset:
- a write to cpuset.cpus, of that cpuset or of an ancestor;
- a partition root that takes those CPUs, when it is created or when
it grows.
A deadline task counted in that root domain then runs in the other one,
which did not admit it. Its bandwidth follows with no admission test,
and that root domain can exceed its limit.
Refuse both:
- A write to cpuset.cpus fails with EBUSY, and changes nothing. The
cpuset.cpus file of cgroup v1 gets the same check.
- The write that makes the partition root, or makes it grow, still
succeeds. cpuset makes the partition root invalid. For a "root"
partition, cpuset.cpus.partition then reads "root invalid (Deadline
task would leave its root domain)".
A task goes to another root domain by a move to another cpuset, which
asks for room.
A change that leaves each deadline task a CPU in its root domain is
accepted as before.
The check follows __set_cpus_allowed_ptr(). That keeps the new mask
within the affinity set by the user, if they intersect. So a mask that
grows can also take a task out of its root domain, and it is checked
too. Changes that cannot fail are not checked: a partition that is
disabled or becomes invalid, and a CPU that comes online.
dl_task_keeps_root_domain() tells whether a new mask keeps a task in
the root domain that counts it. Without admission control it accepts
any mask: there is no limit to exceed. An administrator who needs the
change can turn admission control off, by writing -1 to
/proc/sys/kernel/sched_rt_runtime_us.
The cases mask_out_refused and partition_takes_refused of
deadline_bw_test, added later in this series, test this. Without this
patch the write is accepted and the partition root is valid. These
cases test the other paths:
- partition_takes_fallback_refused: the CPUs of an ancestor;
- mask_grows_refused: a mask that grows;
- partition_swap_refused: a partition root that takes and gives CPUs in
one change;
- partition_refused_no_warn: a refusal with no warning.
Fixes: f82f80426f7a ("sched/deadline: Ensure that updates to exclusive cpusets don't break AC")
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: stable@vger.kernel.org
---
include/linux/sched/deadline.h | 2 +
kernel/cgroup/cpuset-internal.h | 1 +
kernel/cgroup/cpuset.c | 219 +++++++++++++++++++++++++++++++-
kernel/sched/deadline.c | 25 ++++
4 files changed, 244 insertions(+), 3 deletions(-)
diff --git a/include/linux/sched/deadline.h b/include/linux/sched/deadline.h
index bdabd54af729..67426834a9a4 100644
--- a/include/linux/sched/deadline.h
+++ b/include/linux/sched/deadline.h
@@ -62,6 +62,8 @@ extern int dl_task_bw_reserve_cpu(struct task_struct *p,
const struct cpumask *new_mask);
extern int dl_task_bw_reserved_cpu(struct task_struct *p);
extern void dl_task_bw_unreserve(struct task_struct *p);
+extern bool dl_task_keeps_root_domain(struct task_struct *p,
+ const struct cpumask *new_mask);
static inline bool dl_server(struct sched_dl_entity *dl_se)
{
diff --git a/kernel/cgroup/cpuset-internal.h b/kernel/cgroup/cpuset-internal.h
index a83443dfb788..8fe0225704eb 100644
--- a/kernel/cgroup/cpuset-internal.h
+++ b/kernel/cgroup/cpuset-internal.h
@@ -36,6 +36,7 @@ enum prs_errcode {
PERR_ACCESS,
PERR_REMOTE,
PERR_ISOPARENT,
+ PERR_DLTASK,
};
/* bits in struct cpuset flags field */
diff --git a/kernel/cgroup/cpuset.c b/kernel/cgroup/cpuset.c
index 3ccd61a37d30..d604b0267cc7 100644
--- a/kernel/cgroup/cpuset.c
+++ b/kernel/cgroup/cpuset.c
@@ -61,6 +61,7 @@ static const char * const perr_strings[] = {
[PERR_ACCESS] = "Enable partition not permitted",
[PERR_REMOTE] = "Have remote partition underneath",
[PERR_ISOPARENT] = "Root partition is not allowed with isolated parent",
+ [PERR_DLTASK] = "Deadline task would leave its root domain",
};
/*
@@ -1126,6 +1127,130 @@ static void update_partition_sd_lb(struct cpuset *cs, int old_prs)
cpuset_force_rebuild();
}
+/*
+ * Return false if the CPUs of @new_cpus make a deadline task of @cp leave
+ * the root domain that counts its bandwidth. Called under rcu_read_lock(),
+ * which it drops and takes again.
+ */
+static bool dl_tasks_keep_cpus(struct cpuset *cp, const struct cpumask *new_cpus)
+{
+ struct css_task_iter it;
+ struct task_struct *task;
+ bool keep = true;
+
+ if (!css_tryget_online(&cp->css))
+ return true;
+ rcu_read_unlock();
+
+ css_task_iter_start(&cp->css, 0, &it);
+ while (keep && (task = css_task_iter_next(&it))) {
+ /* The top cpuset leaves the mask of these tasks alone. */
+ if (cp == &top_cpuset &&
+ (task->flags & (PF_KTHREAD | PF_NO_SETAFFINITY)))
+ continue;
+ keep = dl_task_keeps_root_domain(task, new_cpus);
+ }
+ css_task_iter_end(&it);
+
+ rcu_read_lock();
+ css_put(&cp->css);
+ return keep;
+}
+
+/*
+ * Set @new_cpus to the effective CPUs that @cp gets. On entry, @new_cpus
+ * holds those that @from gets. @from is @cp or one of its ancestors. Work
+ * down from the child of @from to @cp, as compute_effective_cpumask() does
+ * for a cpuset that is not a valid partition root.
+ */
+static void effective_cpus_below(struct cpuset *cp, struct cpuset *from,
+ struct cpumask *new_cpus)
+{
+ struct cpuset *a;
+ int depth = 0, i;
+
+ for (a = cp; a != from; a = parent_cs(a))
+ depth++;
+ while (depth--) {
+ for (a = cp, i = 0; i < depth; i++)
+ a = parent_cs(a);
+ if (cpumask_intersects(new_cpus, a->cpus_allowed) || !is_in_v2_mode())
+ cpumask_and(new_cpus, new_cpus, a->cpus_allowed);
+ }
+}
+
+/*
+ * A scratch mask for dl_tasks_keep_without(). Its callers still need each
+ * mask of their struct tmpmasks after the call. Protected by
+ * cpuset_mutex.
+ */
+static cpumask_var_t dl_keep_cpus;
+
+/*
+ * Return false if a partition that takes the CPUs of @xcpus makes a
+ * deadline task leave the root domain that counts its bandwidth. A cpuset
+ * can hold CPUs of two root domains: with isolcpus="domain", or on cgroup
+ * v1 with sched_load_balance off. Such a task would run in a root domain
+ * that did not admit it.
+ *
+ * @root is the partition root that gives the CPUs. @part is the cpuset
+ * that takes them. In the same change, @part can give the CPUs of @gives
+ * back to @root. @gives is NULL if it gives none back.
+ *
+ * Work out the new CPUs of each cpuset of @root from the top down, as
+ * update_cpumasks_hier() does, down to the next partition roots. If
+ * @enable, @part becomes a partition root. Then do the same for its own
+ * cpusets, starting from the active CPUs of @xcpus.
+ */
+static bool dl_tasks_keep_without(struct cpuset *root, struct cpuset *part,
+ const struct cpumask *xcpus,
+ const struct cpumask *gives, bool enable)
+{
+ struct cpumask *new_cpus = dl_keep_cpus;
+ struct cgroup_subsys_state *pos_css;
+ struct cpuset *cp;
+ bool keep = true;
+
+ lockdep_assert_cpuset_lock_held();
+ rcu_read_lock();
+ cpuset_for_each_descendant_pre(cp, pos_css, root) {
+ if (cp == part || (cp != root && is_partition_valid(cp))) {
+ pos_css = css_rightmost_descendant(pos_css);
+ continue;
+ }
+ /* The CPUs that @root has after the change. */
+ cpumask_copy(new_cpus, root->effective_cpus);
+ if (gives) {
+ cpumask_or(new_cpus, new_cpus, gives);
+ cpumask_and(new_cpus, new_cpus, cpu_active_mask);
+ }
+ cpumask_andnot(new_cpus, new_cpus, xcpus);
+ effective_cpus_below(cp, root, new_cpus);
+ if (cpumask_equal(cp->effective_cpus, new_cpus))
+ continue;
+ keep = dl_tasks_keep_cpus(cp, new_cpus);
+ if (!keep)
+ break;
+ }
+ if (keep && enable) {
+ cpuset_for_each_descendant_pre(cp, pos_css, part) {
+ if (cp != part && is_partition_valid(cp)) {
+ pos_css = css_rightmost_descendant(pos_css);
+ continue;
+ }
+ cpumask_and(new_cpus, xcpus, cpu_active_mask);
+ effective_cpus_below(cp, part, new_cpus);
+ if (cpumask_equal(cp->effective_cpus, new_cpus))
+ continue;
+ keep = dl_tasks_keep_cpus(cp, new_cpus);
+ if (!keep)
+ break;
+ }
+ }
+ rcu_read_unlock();
+ return keep;
+}
+
/*
* tasks_nocpu_error - Return true if tasks will have no effective_cpus
*/
@@ -1676,6 +1801,8 @@ static int remote_partition_enable(struct cpuset *cs, int new_prs,
return PERR_NOCPUS;
if (prstate_housekeeping_conflict(new_prs, PRS_ROOT, tmp->new_cpus, NULL))
return PERR_HKEEPING;
+ if (!dl_tasks_keep_without(&top_cpuset, cs, tmp->new_cpus, NULL, true))
+ return PERR_DLTASK;
spin_lock_irq(&callback_lock);
partition_xcpus_add(new_prs, NULL, tmp->new_cpus);
@@ -1779,6 +1906,10 @@ static void remote_cpus_update(struct cpuset *cs, struct cpumask *xcpus,
else if (prstate_housekeeping_conflict(prs, PRS_ROOT,
excpus, tmp->delmask))
WRITE_ONCE(cs->prs_err, PERR_HKEEPING);
+ else if (!dl_tasks_keep_without(&top_cpuset, cs, tmp->addmask,
+ deleting ? tmp->delmask : NULL,
+ false))
+ WRITE_ONCE(cs->prs_err, PERR_DLTASK);
if (cs->prs_err)
goto invalidate;
}
@@ -1926,6 +2057,9 @@ static int update_parent_effective_cpumask(struct cpuset *cs, int cmd,
if (nocpu)
return PERR_NOCPUS;
+ if (!dl_tasks_keep_without(parent, cs, tmp->delmask, NULL, true))
+ return PERR_DLTASK;
+
/*
* This function will only be called when all the preliminary
* checks have passed. At this point, the following condition
@@ -2013,6 +2147,20 @@ static int update_parent_effective_cpumask(struct cpuset *cs, int cmd,
deleting = false;
adding = cpumask_and(tmp->addmask,
cs->effective_xcpus, parent->effective_xcpus);
+ } else if (deleting &&
+ !dl_tasks_keep_without(parent, cs, tmp->delmask,
+ adding ? tmp->addmask : NULL,
+ is_partition_invalid(cs))) {
+ /*
+ * As above: the partition is or becomes invalid. Only
+ * a valid one holds CPUs of its parent to give back.
+ */
+ part_error = PERR_DLTASK;
+ deleting = false;
+ if (is_partition_valid(cs))
+ adding = cpumask_and(tmp->addmask,
+ cs->effective_xcpus,
+ parent->effective_xcpus);
}
} else {
/*
@@ -2084,10 +2232,13 @@ static int update_parent_effective_cpumask(struct cpuset *cs, int cmd,
}
rcu_read_unlock();
}
- if (exclusive)
- deleting = !cpumask_empty(tmp->delmask);
- else
+ if (!exclusive)
part_error = PERR_NOTEXCL;
+ else if (!dl_tasks_keep_without(parent, cs, tmp->delmask,
+ NULL, true))
+ part_error = PERR_DLTASK;
+ else
+ deleting = !cpumask_empty(tmp->delmask);
}
/*
* When both cs and parent remain valid, parent's
@@ -2496,6 +2647,62 @@ static void partition_cpus_change(struct cpuset *cs, struct cpuset *trialcs,
}
}
+/*
+ * Set @new_cpus to the effective CPUs that @cp gets if @cs takes the CPUs
+ * of @trialcs. @cp is @cs or one of its descendants.
+ */
+static void trial_effective_cpus(struct cpuset *cp, struct cpuset *cs,
+ struct cpuset *trialcs, struct cpumask *new_cpus)
+{
+ struct cpuset *parent = parent_cs(cs);
+
+ if (!cpumask_and(new_cpus, trialcs->cpus_allowed, parent->effective_cpus) &&
+ is_in_v2_mode())
+ cpumask_copy(new_cpus, parent->effective_cpus);
+ effective_cpus_below(cp, cs, new_cpus);
+}
+
+/*
+ * Return false if the CPUs of @trialcs make a deadline task of @cs, or of
+ * a descendant, leave the root domain that counts its bandwidth. A cpuset
+ * can hold CPUs of two root domains: with isolcpus="domain", or on cgroup
+ * v1 with sched_load_balance off. The task would run in a root domain that
+ * did not admit it. A move of the task to another cpuset is the way there:
+ * it asks the other root domain for room.
+ *
+ * A partition root takes its CPUs from its parent, which checks the same
+ * for its own tasks: see dl_tasks_keep_without().
+ */
+static bool dl_tasks_keep_root_domain(struct cpuset *cs, struct cpuset *trialcs,
+ struct cpumask *new_cpus)
+{
+ struct cgroup_subsys_state *pos_css;
+ struct cpuset *cp;
+ bool keep = true;
+
+ if (is_partition_valid(cs))
+ return true;
+ rcu_read_lock();
+ cpuset_for_each_descendant_pre(cp, pos_css, cs) {
+ if (is_partition_valid(cp)) {
+ pos_css = css_rightmost_descendant(pos_css);
+ continue;
+ }
+ trial_effective_cpus(cp, cs, trialcs, new_cpus);
+ /*
+ * Test a mask that grows too. A task whose user affinity
+ * holds none of the old CPUs gets only the new ones.
+ */
+ if (cpumask_equal(cp->effective_cpus, new_cpus))
+ continue;
+ keep = dl_tasks_keep_cpus(cp, new_cpus);
+ if (!keep)
+ break;
+ }
+ rcu_read_unlock();
+ return keep;
+}
+
/**
* update_cpumask - update the cpus_allowed mask of a cpuset and all tasks in it
* @cs: the cpuset to consider
@@ -2528,6 +2735,11 @@ static int update_cpumask(struct cpuset *cs, struct cpuset *trialcs,
if (alloc_tmpmasks(&tmp))
return -ENOMEM;
+ if (!dl_tasks_keep_root_domain(cs, trialcs, tmp.new_cpus)) {
+ free_tmpmasks(&tmp);
+ return -EBUSY;
+ }
+
/*
* Check all the descendants in update_cpumasks_hier() if
* effective_xcpus is to be changed.
@@ -3961,6 +4173,7 @@ int __init cpuset_init(void)
BUG_ON(!alloc_cpumask_var(&cpus_attach, GFP_KERNEL));
BUG_ON(!zalloc_cpumask_var(&dl_attach_cpus, GFP_KERNEL));
+ BUG_ON(!alloc_cpumask_var(&dl_keep_cpus, GFP_KERNEL));
if (housekeeping_enabled(HK_TYPE_DOMAIN_BOOT))
cpumask_andnot(isolated_cpus, cpu_possible_mask,
diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c
index 47264640de14..ff559f2729fb 100644
--- a/kernel/sched/deadline.c
+++ b/kernel/sched/deadline.c
@@ -5091,6 +5091,31 @@ int dl_bw_deactivate(int cpu)
return ret;
}
+/*
+ * Return false if @p has CPUs in the root domain that counts its
+ * bandwidth and @new_mask holds none of them. A cpuset refuses such a
+ * mask: only a move to another cpuset makes room in another root domain.
+ * Like __set_cpus_allowed_ptr(), keep @new_mask within the affinity set by
+ * the user, if they intersect.
+ */
+bool dl_task_keeps_root_domain(struct task_struct *p,
+ const struct cpumask *new_mask)
+{
+ const struct cpumask *span;
+
+ if (!dl_bandwidth_enabled() || !task_has_dl_policy(p))
+ return true;
+ /* pi_lock also protects p->user_cpus_ptr. */
+ guard(raw_spinlock_irqsave)(&p->pi_lock);
+ guard(rcu)();
+ span = dl_task_bw_span(p);
+ if (!span || !cpumask_intersects(span, p->cpus_ptr))
+ return true;
+ if (p->user_cpus_ptr && cpumask_intersects(new_mask, p->user_cpus_ptr))
+ return cpumask_intersects_and(span, new_mask, p->user_cpus_ptr);
+ return cpumask_intersects(span, new_mask);
+}
+
int dl_bw_alloc(int cpu, u64 dl_bw)
{
return dl_bw_manage(dl_bw_req_alloc, cpu, dl_bw);
--
2.47.3
next prev parent reply other threads:[~2026-11-17 14:11 UTC|newest]
Thread overview: 55+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-17 14:10 [PATCH v7 00/40] sched/deadline: bandwidth accounting fixes and selftests Mathieu Desnoyers
2026-11-17 14:10 ` [PATCH v7 01/40] sched: Refuse SCHED_FLAG_KEEP_PARAMS that would change the policy or the class Mathieu Desnoyers
2026-11-17 14:10 ` [PATCH v7 02/40] sched/deadline: Do not admit bandwidth for parameters that are kept Mathieu Desnoyers
2026-11-17 14:10 ` [PATCH v7 03/40] sched: Let a task boosted by a deadline waiter change its policy Mathieu Desnoyers
2026-11-17 14:10 ` [PATCH v7 04/40] sched/deadline: Do not divide by zero active CPUs of a root domain Mathieu Desnoyers
2026-11-17 14:10 ` [PATCH v7 05/40] sched/deadline: Refuse dl_server debugfs writes while the rq is offline Mathieu Desnoyers
2026-11-17 14:38 ` sashiko-bot
2026-11-17 14:10 ` [PATCH v7 06/40] sched: Take cpuset_mutex for a deadline policy change only with pi Mathieu Desnoyers
2026-11-17 14:10 ` [PATCH v7 07/40] sched/deadline: Do not lose a throttled task switched out and back Mathieu Desnoyers
2026-11-17 14:10 ` [PATCH v7 08/40] sched/deadline: Do not replenish a boost from cleared parameters Mathieu Desnoyers
2026-11-17 14:10 ` [PATCH v7 09/40] rtmutex: Continue the chain walk when a waiter's deadline donor changes Mathieu Desnoyers
2026-11-17 14:50 ` sashiko-bot
2026-11-17 14:10 ` [PATCH v7 10/40] sched/deadline: Reset the deadline and the runtime with the parameters Mathieu Desnoyers
2026-11-17 14:55 ` sashiko-bot
2026-11-17 14:10 ` [PATCH v7 11/40] sched/deadline: Reset the donor's runtime at a deboost in the class Mathieu Desnoyers
2026-11-17 14:55 ` sashiko-bot
2026-11-17 14:10 ` [PATCH v7 12/40] sched/deadline: Replenish a throttled task boosted while asleep Mathieu Desnoyers
2026-11-17 14:55 ` sashiko-bot
2026-11-17 14:10 ` [PATCH v7 13/40] sched/deadline: Release the bandwidth of a task that leaves the class asleep Mathieu Desnoyers
2026-11-17 14:10 ` [PATCH v7 14/40] sched/deadline: Reject SCHED_DEADLINE on exited tasks Mathieu Desnoyers
2026-11-17 14:10 ` [PATCH v7 15/40] sched/deadline: Keep departing bandwidth across a root domain rebuild Mathieu Desnoyers
2026-11-17 14:10 ` [PATCH v7 16/40] sched/deadline: Fix this_bw when a task is changed during a remote wakeup Mathieu Desnoyers
2026-11-17 14:10 ` [PATCH v7 17/40] sched/deadline: Rebuild the root domains' accounting from the task list Mathieu Desnoyers
2026-11-17 14:10 ` [PATCH v7 18/40] sched/deadline: Record the root domain holding a task's bandwidth Mathieu Desnoyers
2026-11-17 15:14 ` sashiko-bot
2026-11-17 14:10 ` [PATCH v7 19/40] sched/deadline: Leave a dying task out of a rebuild of the accounting Mathieu Desnoyers
2026-11-17 14:10 ` [PATCH v7 20/40] sched/deadline: Check SCHED_DEADLINE affinity under the rq lock Mathieu Desnoyers
2026-11-17 14:10 ` [PATCH v7 21/40] sched/deadline: Move a task's bandwidth only where room was made Mathieu Desnoyers
2026-11-17 14:10 ` [PATCH v7 22/40] cgroup/cpuset: Wait for an attach before rebuilding the sched domains Mathieu Desnoyers
2026-11-17 14:10 ` [PATCH v7 23/40] sched: Make deadline policy and affinity changes wait for a cpuset attach Mathieu Desnoyers
2026-11-17 15:18 ` sashiko-bot
2026-11-17 14:10 ` [PATCH v7 24/40] cgroup/cpuset: Give back the bandwidth an attach did not move Mathieu Desnoyers
2026-11-17 14:10 ` [PATCH v7 25/40] cgroup/cpuset: Reserve the bandwidth in the root domain a task moves to Mathieu Desnoyers
2026-11-17 14:10 ` [PATCH v7 26/40] sched/deadline: Make a rebuild count a task in the root domain it runs in Mathieu Desnoyers
2026-11-17 15:31 ` sashiko-bot
2026-11-17 14:10 ` [PATCH v7 27/40] sched/deadline: Move a task's bandwidth to " Mathieu Desnoyers
2026-11-17 15:29 ` sashiko-bot
2026-11-17 14:10 ` [PATCH v7 28/40] sched/deadline: Keep a task in the root domain that counts its bandwidth Mathieu Desnoyers
2026-11-17 15:32 ` sashiko-bot
2026-11-17 14:10 ` [PATCH v7 29/40] sched/deadline: Keep the last CPU a task has in its root domain Mathieu Desnoyers
2026-11-17 15:41 ` sashiko-bot
2026-11-17 14:10 ` Mathieu Desnoyers [this message]
2026-11-17 14:10 ` [PATCH v7 31/40] sched/deadline: Cancel the replenishment timer with the parameters Mathieu Desnoyers
2026-11-17 14:10 ` [PATCH v7 32/40] sched/deadline: Count the bandwidth a boosted task is given Mathieu Desnoyers
2026-11-17 14:10 ` [PATCH v7 33/40] sched/deadline: Start a period for a task that enters the class blocked Mathieu Desnoyers
2026-11-17 15:46 ` sashiko-bot
2026-11-17 14:10 ` [PATCH v7 34/40] sched/deadline: Cap the runtime left of a constrained task at dl_runtime Mathieu Desnoyers
2026-11-17 14:10 ` [PATCH v7 35/40] sched/deadline: Check the runtime of a task that comes back runnable Mathieu Desnoyers
2026-11-17 14:10 ` [PATCH v7 36/40] sched/deadline: Check the runtime of a task whose parameters change Mathieu Desnoyers
2026-11-17 15:45 ` sashiko-bot
2026-11-17 14:10 ` [PATCH v7 37/40] sched/debug: Show the deadline bandwidth of each runqueue Mathieu Desnoyers
2026-11-17 14:10 ` [PATCH v7 38/40] selftests/sched: Add a test of SCHED_DEADLINE policy round trips Mathieu Desnoyers
2026-11-17 15:23 ` sashiko-bot
2026-11-17 14:11 ` [PATCH v7 39/40] selftests/sched: Test SCHED_DEADLINE bandwidth across a root domain rebuild Mathieu Desnoyers
2026-11-17 14:11 ` [PATCH v7 40/40] selftests/sched: Add a test of SCHED_DEADLINE bandwidth accounting Mathieu Desnoyers
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=02cf107f71ca43f00fef41f133513af69be36810.1794922146.git.mathieu.desnoyers@efficios.com \
--to=mathieu.desnoyers@efficios.com \
--cc=bigeasy@linutronix.de \
--cc=boqun@kernel.org \
--cc=bsegall@google.com \
--cc=cgroups@vger.kernel.org \
--cc=clrkwllms@kernel.org \
--cc=dietmar.eggemann@arm.com \
--cc=hannes@cmpxchg.org \
--cc=juri.lelli@redhat.com \
--cc=kayracizmeci@gmail.com \
--cc=kprateek.nayak@amd.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=linux-rt-devel@lists.linux.dev \
--cc=longman@redhat.com \
--cc=luca.abeni@santannapisa.it \
--cc=m.szyprowski@samsung.com \
--cc=mathieu.poirier@linaro.org \
--cc=mgorman@suse.de \
--cc=mingo@redhat.com \
--cc=mkoutny@suse.com \
--cc=parri.andrea@gmail.com \
--cc=peterz@infradead.org \
--cc=ridong.chen@linux.dev \
--cc=rostedt@goodmis.org \
--cc=shuah@kernel.org \
--cc=stable@vger.kernel.org \
--cc=tglx@kernel.org \
--cc=tj@kernel.org \
--cc=vincent.guittot@linaro.org \
--cc=vschneid@redhat.com \
--cc=weihengqiuu@gmail.com \
--cc=will@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®