diff options
author | ztong <ztong@cs.unc.edu> | 2021-02-17 17:59:26 -0500 |
---|---|---|
committer | ztong <ztong@cs.unc.edu> | 2021-02-17 17:59:26 -0500 |
commit | b36bd06a9d3b8f5b2b1de2d768266b3968052160 (patch) | |
tree | 0f79ae48f9b2d4d9d80c3d451c6450ad66ca79d2 /kernel | |
parent | 5c81e639780c2bdf2fb4ad847b7a5729a717e536 (diff) |
omlp_fz_police bug fixupdate_litmus_2019
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/sched/litmus.c | 2 | ||||
-rw-r--r-- | kernel/sched/rt.c | 2 | ||||
-rw-r--r-- | kernel/sched/sched.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/kernel/sched/litmus.c b/kernel/sched/litmus.c index a28aa5ab28f7..2e3ca79d39a9 100644 --- a/kernel/sched/litmus.c +++ b/kernel/sched/litmus.c | |||
@@ -362,7 +362,7 @@ const struct sched_class litmus_sched_class = { | |||
362 | * cpu-hotplug or cpu throttling. Allows Litmus to use up to 1.0 | 362 | * cpu-hotplug or cpu throttling. Allows Litmus to use up to 1.0 |
363 | * CPU capacity. | 363 | * CPU capacity. |
364 | */ | 364 | */ |
365 | .next = &stop_sched_class, | 365 | .next = &fair_sched_class, |
366 | .enqueue_task = enqueue_task_litmus, | 366 | .enqueue_task = enqueue_task_litmus, |
367 | .dequeue_task = dequeue_task_litmus, | 367 | .dequeue_task = dequeue_task_litmus, |
368 | .yield_task = yield_task_litmus, | 368 | .yield_task = yield_task_litmus, |
diff --git a/kernel/sched/rt.c b/kernel/sched/rt.c index babfdd90c6a5..12d40dfd715f 100644 --- a/kernel/sched/rt.c +++ b/kernel/sched/rt.c | |||
@@ -2363,7 +2363,7 @@ static unsigned int get_rr_interval_rt(struct rq *rq, struct task_struct *task) | |||
2363 | } | 2363 | } |
2364 | 2364 | ||
2365 | const struct sched_class rt_sched_class = { | 2365 | const struct sched_class rt_sched_class = { |
2366 | .next = &fair_sched_class, | 2366 | .next = &litmus_sched_class, |
2367 | .enqueue_task = enqueue_task_rt, | 2367 | .enqueue_task = enqueue_task_rt, |
2368 | .dequeue_task = dequeue_task_rt, | 2368 | .dequeue_task = dequeue_task_rt, |
2369 | .yield_task = yield_task_rt, | 2369 | .yield_task = yield_task_rt, |
diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h index c4f7afbe90c0..ebbd4c05289b 100644 --- a/kernel/sched/sched.h +++ b/kernel/sched/sched.h | |||
@@ -1798,7 +1798,7 @@ static inline void set_next_task(struct rq *rq, struct task_struct *next) | |||
1798 | * class, but existing plugins (that predate the stop-machine class) depend on | 1798 | * class, but existing plugins (that predate the stop-machine class) depend on |
1799 | * the assumption that LITMUS^RT plugins are the top scheduling class. | 1799 | * the assumption that LITMUS^RT plugins are the top scheduling class. |
1800 | */ | 1800 | */ |
1801 | #define sched_class_highest (&litmus_sched_class) | 1801 | #define sched_class_highest (&stop_sched_class) |
1802 | 1802 | ||
1803 | /* | 1803 | /* |
1804 | #ifdef CONFIG_SMP | 1804 | #ifdef CONFIG_SMP |