mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09: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:
committed by
Carlos Llamas
parent
5cfe879a2a
commit
bb7f4f66ca
@@ -7697,7 +7697,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 };
|
||||
|
||||
|
||||
@@ -2288,6 +2288,7 @@ static inline struct task_struct *get_push_task(struct rq *rq)
|
||||
|
||||
extern int push_cpu_stop(void *arg);
|
||||
|
||||
extern unsigned long __read_mostly max_load_balance_interval;
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_CPU_IDLE
|
||||
|
||||
Reference in New Issue
Block a user