* [PATCH] sched/deadline: Remove inc/dec_dl_migration on !SMP
@ 2023-11-04 11:08 Daniel Bristot de Oliveira
0 siblings, 0 replies; only message in thread
From: Daniel Bristot de Oliveira @ 2023-11-04 11:08 UTC (permalink / raw)
To: Peter Zijlstra, Ingo Molnar, Juri Lelli
Cc: Daniel Bristot de Oliveira, Vincent Guittot, Dietmar Eggemann,
Steven Rostedt, Valentin Schneider, linux-kernel
The commit "5fe7765997b1 sched/deadline: Make dl_rq->pushable_dl_tasks
update drive dl_rq->overloaded)" removed these functions on SMP, but
thet !SMP was left. I thought that the compiler would complain about
the unused functions, but it was not complaining.
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Juri Lelli <juri.lelli@redhat.com>
Cc: Vincent Guittot <vincent.guittot@linaro.org>
Cc: Dietmar Eggemann <dietmar.eggemann@arm.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Valentin Schneider <vschneid@redhat.com>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Daniel Bristot de Oliveira <bristot@kernel.org>
---
kernel/sched/deadline.c | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c
index b28114478b82..6b17220b554e 100644
--- a/kernel/sched/deadline.c
+++ b/kernel/sched/deadline.c
@@ -718,16 +718,6 @@ void dequeue_pushable_dl_task(struct rq *rq, struct task_struct *p)
{
}
-static inline
-void inc_dl_migration(struct sched_dl_entity *dl_se, struct dl_rq *dl_rq)
-{
-}
-
-static inline
-void dec_dl_migration(struct sched_dl_entity *dl_se, struct dl_rq *dl_rq)
-{
-}
-
static inline void deadline_queue_push_tasks(struct rq *rq)
{
}
--
2.41.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-11-04 11:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-04 11:08 [PATCH] sched/deadline: Remove inc/dec_dl_migration on !SMP Daniel Bristot de Oliveira
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®