diff options
| author | Srivatsa Vaddagiri <vatsa@codeaurora.org> | 2014-07-23 15:16:04 +0530 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 20:00:00 -0700 |
| commit | f41fd0eca9950970d7e16f4fdfa84aba77c77b19 (patch) | |
| tree | f64ae6296bd741b33ba2f4e062c0dae0d8cd6c97 /kernel/sysctl.c | |
| parent | 39f974c48880622a71422c35a3b3271cd5467230 (diff) | |
sched: window-stats: Fix incorrect calculation of partial_demand
When using MAX_POLICY, partial_demand is calculated incorrectly as 0.
Fix this by picking maximum of previous 4 windows and most recent
sample.
Change-Id: I27850a510746a63b5382c84761920fc021b876c5
Signed-off-by: Srivatsa Vaddagiri <vatsa@codeaurora.org>
Diffstat (limited to 'kernel/sysctl.c')
0 files changed, 0 insertions, 0 deletions
