linux54-tkg: 5.4.62

This commit is contained in:
Tk-Glitch
2020-09-03 13:13:16 +02:00
parent 26a3ec070c
commit f4c346e306
2 changed files with 11 additions and 6 deletions

View File

@@ -15665,7 +15665,7 @@ new file mode 100644
index 000000000000..5214b158d82f
--- /dev/null
+++ b/kernel/sched/MuQSS.h
@@ -0,0 +1,1005 @@
@@ -0,0 +1,1010 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef MUQSS_SCHED_H
+#define MUQSS_SCHED_H
@@ -16441,6 +16441,11 @@ index 000000000000..5214b158d82f
+}
+#endif /* CONFIG_CPU_FREQ */
+
+static inline bool uclamp_is_used(void)
+{
+ return false;
+}
+
+static __always_inline
+unsigned int uclamp_util_with(struct rq __maybe_unused *rq, unsigned int util,
+ struct task_struct __maybe_unused *p)
@@ -16691,7 +16696,7 @@ index 86800b4d5453..f3d8dca0538a 100644
@@ -213,7 +219,7 @@ unsigned long schedutil_cpu_util(int cpu, unsigned long util_cfs,
struct rq *rq = cpu_rq(cpu);
if (!IS_BUILTIN(CONFIG_UCLAMP_TASK) &&
if (!uclamp_is_used() &&
- type == FREQUENCY_UTIL && rt_rq_is_runnable(&rq->rt)) {
+ type == FREQUENCY_UTIL && rt_rq_runnable(rq)) {
return max;