diff options
| author | Fan Du <[email protected]> | 2013-07-03 15:05:19 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2013-07-03 16:07:43 -0700 |
| commit | 64df3071a97f20767f63b88c573791691a855b5c (patch) | |
| tree | d7f8de21c425465f6e790c5de74d2dc54214b9e3 /tools/perf/scripts/python/bin | |
| parent | 5cb0656b62ff1199763764e4f6b4c06d30d5d0f5 (diff) | |
lib/percpu_counter.c: __this_cpu_write() doesn't need to be protected by spinlock
__this_cpu_write doesn't need to be protected by spinlock, AS we are doing
per cpu write with preempt disabled. And another reason to remove
__this_cpu_write outside of spinlock: __percpu_counter_sum is not an
accurate counter.
Signed-off-by: Fan Du <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions