diff options
author | Christoph Lameter <[email protected]> | 2010-12-06 11:16:28 -0600 |
---|---|---|
committer | Tejun Heo <[email protected]> | 2010-12-17 15:07:19 +0100 |
commit | c7b92516a9c68fa5403879225a5a19974a801ef6 (patch) | |
tree | 1f72ebd85bca40806024ac6b8f5caab068b7c15d /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | 5309665dcc1143d659d82568da8d00f0e08a58f9 (diff) |
fs: Use this_cpu_xx operations in buffer.c
Optimize various per cpu area operations through these new percpu
operations. These operations avoid address calculations through the
use of segment prefixes and multiple memory references through RMW
instructions etc.
Reduces code size:
Before:
[email protected]$ size fs/buffer.o
text data bss dec hex filename
19169 80 28 19277 4b4d fs/buffer.o
After:
[email protected]$ size fs/buffer.o
text data bss dec hex filename
19138 80 28 19246 4b2e fs/buffer.o
V3->V4:
- Move the use of this_cpu_inc_return into a later patch so that
this one can go in without percpu infrastructure changes.
Cc: Wu Fengguang <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Acked-by: H. Peter Anvin <[email protected]>
Signed-off-by: Christoph Lameter <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions