aboutsummaryrefslogtreecommitdiff
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorShan Wei <[email protected]>2012-11-19 13:21:01 +0800
committerSteven Rostedt <[email protected]>2013-01-25 20:36:54 -0500
commit821465295b36136998ef294fe176fba4e09c1cd9 (patch)
tree241bf19a408130332b123780b55fc8303fee491b /lib/debugobjects.c
parentd75f717e19fe595e7efbf67de195ada8d89dfbbe (diff)
tracing: Use __this_cpu_inc/dec operation instead of __get_cpu_var
__this_cpu_inc_return() or __this_cpu_dec generates a single instruction, which is faster than __get_cpu_var operation. Link: http://lkml.kernel.org/r/[email protected] Reviewed-by: Christoph Lameter <[email protected]> Signed-off-by: Shan Wei <[email protected]> Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions