mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 22:14:04 +02:00
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:
parent
a6310f1034
commit
bcbc667b0a
|
|
@ -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 };
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user