diff options
author | Frederic Weisbecker <[email protected]> | 2009-05-08 14:53:52 +0200 |
---|---|---|
committer | Frederic Weisbecker <[email protected]> | 2009-09-14 07:18:20 +0200 |
commit | d6f5b0aa08078c3dabe377d5b1a6077e9c9352d3 (patch) | |
tree | b5d6bd99e007c57a6cd4953368202d99a41141cd /tools/perf/scripts/python/check-perf-trace.py | |
parent | 09eb47a7c52ad535aafca889e0b936c445c375ce (diff) |
kill-the-bkl/reiserfs: factorize the locking in reiserfs_write_end()
reiserfs_write_end() is a hot path in reiserfs.
We have two wasteful write lock lock/release inside that can be gathered
without changing the code logic.
This patch factorizes them out in a single protected section, reducing the
number of contentions inside.
[ Impact: reduce lock contention in a reiserfs hotpath ]
Cc: Jeff Mahoney <[email protected]>
Cc: Chris Mason <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Alexander Beregalov <[email protected]>
Signed-off-by: Frederic Weisbecker <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions