diff options
author | Christoph Lameter <cl@gentwo.org> | 2013-08-07 15:38:24 +0000 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2013-08-16 17:44:29 +0200 |
commit | a4f61cc03e443647211a5ae0ab8f8cda2e9e1043 (patch) | |
tree | 6285945a10b8bf718d27fecd7d4bc33e21a0a861 /ipc | |
parent | c8d2d47a9cbb4222ae4e993aa0e3703430c8193c (diff) |
sched/cputime: Use this_cpu_add() in task_group_account_field()
Use of a this_cpu() operation reduces the number of instructions used
for accounting (account_user_time()) and frees up some registers. This is in
the scheduler tick hotpath.
Signed-off-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/00000140596dd165-338ff7f5-893b-4fec-b251-aaac5557239e-000000@email.amazonses.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions