Guest User

Untitled

a guest
Aug 23rd, 2020
72
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --- a/patch-5.7-ck1 2020-06-10 00:59:29.000000000 +0300
  2. +++ b/patch-5.7-ck1 2020-08-23 13:42:46.304190376 +0300
  3. @@ -12162,7 +12162,7 @@
  4.  @@ -211,7 +217,7 @@ unsigned long schedutil_cpu_util(int cpu, unsigned long util_cfs,
  5.     struct rq *rq = cpu_rq(cpu);
  6.  
  7. -   if (!IS_BUILTIN(CONFIG_UCLAMP_TASK) &&
  8. +   if (!uclamp_is_used() &&
  9.  -      type == FREQUENCY_UTIL && rt_rq_is_runnable(&rq->rt)) {
  10.  +      type == FREQUENCY_UTIL && rt_rq_runnable(rq)) {
  11.         return max;
  12.  
RAW Paste Data