Guest User

Untitled

a guest
Dec 5th, 2018
1,257
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. diff -up linux-4.19/kernel/sched/MuQSS.c.orig linux-4.19/kernel/sched/MuQSS.c
  2. --- linux-4.19/kernel/sched/MuQSS.c.orig 2018-12-05 20:51:40.000000000 +0100
  3. +++ linux-4.19/kernel/sched/MuQSS.c 2018-12-06 00:21:39.523114898 +0100
  4. @@ -1011,6 +1011,10 @@ static void resched_curr(struct rq *rq)
  5. #define CPUIDLE_THREAD_BUSY (16)
  6. #define CPUIDLE_DIFF_NODE (32)
  7.  
  8. +#ifdef CONFIG_SCHED_SMT
  9. +DEFINE_STATIC_KEY_FALSE(sched_smt_present);
  10. +#endif
  11. +
  12. /*
  13. * The best idle CPU is chosen according to the CPUIDLE ranking above where the
  14. * lowest value would give the most suitable CPU to schedule p onto next. The
Advertisement
Add Comment
Please, Sign In to add comment