• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Android scheduler hooks and modifications
4  *
5  * Put all of the android-specific scheduler hooks and changes
6  * in this .h file to make merges and modifications easier.  It's also
7  * simpler to notice what is, and is not, an upstream change this way over time.
8  */
9 
10 
11 /*
12  * task_may_not_preempt - check whether a task may not be preemptible soon
13  */
task_may_not_preempt(struct task_struct * task,int cpu)14 static inline bool task_may_not_preempt(struct task_struct *task, int cpu)
15 {
16 	return false;
17 }
18 
uclamp_boosted(struct task_struct * p)19 static inline bool uclamp_boosted(struct task_struct *p)
20 {
21 	return false;
22 }
23 
uclamp_latency_sensitive(struct task_struct * p)24 static inline bool uclamp_latency_sensitive(struct task_struct *p)
25 {
26 	return false;
27 }
28