diff options
| author | Shan Wei <[email protected]> | 2012-11-19 13:21:01 +0800 |
|---|---|---|
| committer | Steven Rostedt <[email protected]> | 2013-01-25 20:36:54 -0500 |
| commit | 821465295b36136998ef294fe176fba4e09c1cd9 (patch) | |
| tree | 241bf19a408130332b123780b55fc8303fee491b /Documentation/filesystems/configfs/configfs_example_macros.c | |
| parent | d75f717e19fe595e7efbf67de195ada8d89dfbbe (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 'Documentation/filesystems/configfs/configfs_example_macros.c')
0 files changed, 0 insertions, 0 deletions