From: Christoph Lameter Date: Wed, 7 Aug 2013 15:38:24 +0000 (+0000) Subject: sched/cputime: Use this_cpu_add() in task_group_account_field() X-Git-Tag: v3.12-rc1~167^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4f61cc03e443647211a5ae0ab8f8cda2e9e1043;p=pandora-kernel.git 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 Signed-off-by: Peter Zijlstra Link: http://lkml.kernel.org/r/00000140596dd165-338ff7f5-893b-4fec-b251-aaac5557239e-000000@email.amazonses.com Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed