ANDROID: sched: Export max_load_balance_interval

Export max_load_balance_interval so that vendor modules can adjust
the load balance interval.

Bug: 180125905
Change-Id: I9e5572db92747d17f9f1f7cd97725bbb04fc0e32
Signed-off-by: Pavankumar Kondeti <quic_pkondeti@quicinc.com>
This commit is contained in:
Pavankumar Kondeti
2021-02-13 11:53:13 +05:30
parent a6310f1034
commit bcbc667b0a
2 changed files with 3 additions and 1 deletions

View File

@@ -7403,7 +7403,8 @@ static bool yield_to_task_fair(struct rq *rq, struct task_struct *p)
* rewrite all of this once again.]
*/
static unsigned long __read_mostly max_load_balance_interval = HZ/10;
unsigned long __read_mostly max_load_balance_interval = HZ/10;
EXPORT_SYMBOL_GPL(max_load_balance_interval);
enum fbq_type { regular, remote, all };

View File

@@ -1908,6 +1908,7 @@ extern void trigger_load_balance(struct rq *rq);
extern void set_cpus_allowed_common(struct task_struct *p, const struct cpumask *new_mask);
extern unsigned long __read_mostly max_load_balance_interval;
#endif
#ifdef CONFIG_CPU_IDLE