diff options
| author | Theodore Ts'o <[email protected]> | 2010-11-02 13:34:50 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2010-11-02 14:38:30 +0000 |
| commit | eb8abb927ae2fd1730e24ea94cd9527f3c086292 (patch) | |
| tree | e0ae72934040e8d840db503c311ac070d9850bc8 /arch/arm/include/asm/assembler.h | |
| parent | preempt: fix kernel build with !CONFIG_BKL (diff) | |
| download | kernel-eb8abb927ae2fd1730e24ea94cd9527f3c086292.tar.gz kernel-eb8abb927ae2fd1730e24ea94cd9527f3c086292.zip | |
ext4: Remove useless spinlock in ext4_getattr()
Linus noted, and complained to me, that doing while lots of "git diff"'s
of kernel sources, these spinlocks were responsible for 27% of the
spinlock cost on his two-processor system as reported by perf.
Git was doing lots of parallel stats, and this was putting a lot of
pressure on ext4_getattr(). A spinlock to protect a single
memory-to-memory copy is pointless, so remove it.
Signed-off-by: "Theodore Ts'o" <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'arch/arm/include/asm/assembler.h')
0 files changed, 0 insertions, 0 deletions
