mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
sched: s/sched_latency/sched_min_granularity
runtime limit and wakeup granularity used to be a function of granularity and that was incorrect changed to sched_latency. Fix this to make wakeup granularity a function of min-granularity, and the runtime limit equal to latency. Signed-off-by: Ingo Molnar <[email protected]>
This commit is contained in:
parent
a3ce8ea66a
commit
50c46637aa
1 changed files with 2 additions and 2 deletions
|
|
@ -4921,8 +4921,8 @@ static inline void sched_init_granularity(void)
|
|||
if (sysctl_sched_latency > limit)
|
||||
sysctl_sched_latency = limit;
|
||||
|
||||
sysctl_sched_runtime_limit = sysctl_sched_latency * 5;
|
||||
sysctl_sched_wakeup_granularity = sysctl_sched_latency / 2;
|
||||
sysctl_sched_runtime_limit = sysctl_sched_latency;
|
||||
sysctl_sched_wakeup_granularity = sysctl_sched_min_granularity / 2;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_SMP
|
||||
|
|
|
|||
Loading…
Reference in a new issue