cpufreq: interactive: add check for delta_idle and delta_time

While a CPU is in idle on SMP systems, CPU frequency could be changed by other
CPUs and then delta_idle of the currently idled CPU might be greater than
delta_time of the CPU. It would end up computing a extremely large active_time
and cpu load.

Change-Id: I3e4c6ef1ad794eec49ed379c0c50fa727fd6ad28
Signed-off-by: Minsung Kim <ms925.kim@samsung.com>
Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
3.0.74

Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
3.0.75

Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
3.0.77

Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
deadline: Allow 0ms deadline latency, increase the read speed

Change a timer compare from after to after-equals, thus allowing
0 timeout and making deadline schedule FIFO.

Signed-off-by: xiaobing tu <xiaobing.tu@intel.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
Revert "block: upgrade to BFQv6."

This reverts commit ea64d17e083ad4f4679400a7b19fc8e746ca7bf7.
Revert "Revert "Add BFQv5""

This reverts commit 799670d169e2c227f9e12d5dc6c12c8875bb5ea4.