summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2010-11-02 09:34:50 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2010-11-02 10:38:30 -0400
commiteb8abb927ae2fd1730e24ea94cd9527f3c086292 (patch)
treee0ae72934040e8d840db503c311ac070d9850bc8 /mm
parent7fe19da4ca38fc20cdbc7020fcf2eca8fc756410 (diff)
downloadlinux-3.10-eb8abb927ae2fd1730e24ea94cd9527f3c086292.tar.gz
linux-3.10-eb8abb927ae2fd1730e24ea94cd9527f3c086292.tar.bz2
linux-3.10-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" <tytso@mit.edu> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions