diff options
author | 2013-01-24 14:47:38 +0100 | |
---|---|---|
committer | 2013-01-28 14:13:05 +0000 | |
commit | 20e260b6f4f717c100620122f626a2c06a4cfd72 (patch) | |
tree | b2f0c8c70f86ae41f742604b4eb6c08d75109595 /tools/perf/scripts/python/syscall-counts.py | |
parent | ARM: smp: remove wrapper functions (diff) | |
download | linux-dev-20e260b6f4f717c100620122f626a2c06a4cfd72.tar.xz linux-dev-20e260b6f4f717c100620122f626a2c06a4cfd72.zip |
ARM: 7632/1: spinlock: avoid exclusive accesses on unlock() path
When unlocking a spinlock, all we need to do is increment the owner
field of the lock. Since only one CPU can be performing an unlock()
operation for a given lock, this doesn't need to be exclusive.
This patch simplifies arch_spin_unlock to use non-exclusive accesses
when updating the owner field of the lock.
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions