android_kernel_oneplus_msm8998/include
Syed Rameez Mustafa eb7300e9a8 sched: Add per CPU load tracking for each task
Keeping a track of the load footprint of each task on every CPU
that it executed on gives the scheduler much more flexibility in
terms of the number of frequency guidance policies. These new fields
will be used in subsequent patches as we alter the load fixup
mechanism upon task migration. We still need to maintain the
curr/prev_window sums as they will also be required in subsequent
patches as we start to track top tasks based on cumulative load.

Also, we need to call init_new_task_load() for the idle task. This
is an existing harmless bug as load tracking for the idle task is
irrelevant. However, in this patch we are adding pointers to the
ravg structure. These pointers have to be initialized even for the
idle task.

Finally move init_new_task_load() to sched_fork(). This was always
the more appropriate place, however, following the introduction of
new pointers in the ravg struct, this is necessary to avoid races
with functions such as reset_all_task_stats().

Change-Id: Ib584372eb539706da4319973314e54dae04e5934
Signed-off-by: Syed Rameez Mustafa <rameezmustafa@codeaurora.org>
2016-10-17 12:43:53 -07:00
..
acpi
asm-generic Revert "Merge remote-tracking branch 'msm-4.4/tmp-510d0a3f' into msm-4.4" 2016-08-26 14:34:05 -07:00
clocksource
crypto
drm Revert "Merge remote-tracking branch 'msm-4.4/tmp-510d0a3f' into msm-4.4" 2016-08-26 14:34:05 -07:00
dt-bindings clk: qcom: Add support for the turing vote clocks 2016-10-13 09:13:31 +05:30
keys
kvm
linux sched: Add per CPU load tracking for each task 2016-10-17 12:43:53 -07:00
math-emu
media msm: camera: Add a driver to control IR CUT device 2016-09-16 10:29:29 -07:00
memory
misc
net net: cnss: Add support to get fw files for QCA SDIO target 2016-09-27 00:13:45 -07:00
pcmcia
ras
rdma Revert "Merge remote-tracking branch 'msm-4.4/tmp-510d0a3f' into msm-4.4" 2016-08-26 14:34:05 -07:00
rxrpc
scsi
soc soc: qcom: smem: Update CDSP processor ID 2016-10-13 17:10:19 +05:30
sound ASoC: wcd-dsp-mgr: handle codec down and up events 2016-10-11 15:38:32 -07:00
target
trace sched: Add per CPU load tracking for each task 2016-10-17 12:43:53 -07:00
uapi Merge "uapi: sound: add new ready packet type" 2016-10-07 12:20:01 -07:00
video
xen Revert "Merge remote-tracking branch 'msm-4.4/tmp-510d0a3f' into msm-4.4" 2016-08-26 14:34:05 -07:00
Kbuild