From c20a41478d61ea718ecc062baf04cfcfae427b0e Mon Sep 17 00:00:00 2001 From: Srivatsa Vaddagiri Date: Wed, 30 Jul 2014 00:22:26 -0700 Subject: 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 --- include/linux/sched.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/linux') 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 -- cgit v1.2.3