diff options
| author | Srivatsa Vaddagiri <vatsa@codeaurora.org> | 2014-07-30 00:22:26 -0700 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 20:00:13 -0700 |
| commit | c20a41478d61ea718ecc062baf04cfcfae427b0e (patch) | |
| tree | 6468337dc53dde3c78dcaf8b304d6658b429e402 /include/linux | |
| parent | 900b44b621d0956d410319537bc5c0552a4e28f2 (diff) | |
sched: window-stats: Account idle time as busy time
Provide a knob to consider idle time as busy time, when cpu becomes
idle as a result of io_schedule() call. This will let governor
parameter 'io_is_busy' to be appropriately honored.
Change-Id: Id9fb4fe448e8e4909696aa8a3be5a165ad7529d3
Signed-off-by: Srivatsa Vaddagiri <vatsa@codeaurora.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/sched.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 24c6bc818c2e..53e36caed735 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -2114,6 +2114,7 @@ extern void thread_group_cputime_adjusted(struct task_struct *p, cputime_t *ut, extern int sched_set_window(u64 window_start, unsigned int window_size); extern unsigned long sched_get_busy(int cpu); +extern void sched_set_io_is_busy(int val); /* * Per process flags |
