projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3aa5a35
)
[RAMEN9610-9418][COMMON] sched: frt: fix cpumask warnning bug
author
Youngtae Lee
<yt0729.lee@samsung.com>
Mon, 8 Oct 2018 06:57:12 +0000
(15:57 +0900)
committer
Cosmin Tanislav
<demonsingur@gmail.com>
Mon, 22 Apr 2024 17:24:57 +0000
(20:24 +0300)
Change-Id: I27eb08fdcbe6ce7b35a09a38b2aa2fb4b90e76a7
Signed-off-by: Youngtae Lee <yt0729.lee@samsung.com>
kernel/sched/rt.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/sched/rt.c
b/kernel/sched/rt.c
index 9dbdfd84869785540067fedd4daf9e5bad9504c4..da5b42c1ab6bb0e92aa8cf57c3741eb1d51f4070 100644
(file)
--- a/
kernel/sched/rt.c
+++ b/
kernel/sched/rt.c
@@
-2827,6
+2827,8
@@
static int find_lowest_rq_fluid(struct task_struct *task, int wake_flags)
break;
}
out:
+ if (best_cpu == -1)
+ best_cpu = task_rq(task)->cpu;
if (!cpumask_test_cpu(best_cpu, cpu_online_mask)) {
trace_sched_fluid_stat(task, &task->rt.avg, cpu, "NOTHING_VALID");