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:
4e7546d
)
[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
hskang
<hs1218.kang@samsung.com>
Thu, 13 Dec 2018 11:41:49 +0000
(20:41 +0900)
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 9e12d4d8a930b103f1e45dfc1f9720c6a8044185..2fd33e247c956c977a3d9e5b52862e6541e09f68 100644
(file)
--- a/
kernel/sched/rt.c
+++ b/
kernel/sched/rt.c
@@
-2811,6
+2811,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");