summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-pow.c
diff options
context:
space:
mode:
authorPavankumar Kondeti <pkondeti@codeaurora.org>2017-01-09 13:56:33 +0530
committerPavankumar Kondeti <pkondeti@codeaurora.org>2017-02-01 09:16:39 +0530
commitb559daa261b6b12958259f06ae776f140afa92db (patch)
treec3047d27865220f205fd1eddf9106f374a65f4fe /lib/mpi/mpi-pow.c
parenta874c1606fa22a4add4242cc8c5dfca500410f5d (diff)
sched: maintain group busy time counters in runqueue
There is no advantage of tracking busy time counters per related thread group. We need busy time across all groups for either a CPU or a frequency domain. Hence maintain group busy time counters in the runqueue itself. When CPU window is rolled over, the group busy counters are also rolled over. This eliminates the overhead of individual group's window_start maintenance. As we are preallocating related thread group now, this patch saves 40 * nr_cpu_ids * (nr_grp - 1) bytes memory. Change-Id: Ieaaccea483b377f54ea1761e6939ee23a78a5e9c Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
Diffstat (limited to 'lib/mpi/mpi-pow.c')
0 files changed, 0 insertions, 0 deletions