From: Frederic Weisbecker Date: Fri, 8 May 2009 12:53:52 +0000 (+0200) Subject: kill-the-bkl/reiserfs: factorize the locking in reiserfs_write_end() X-Git-Tag: v2.6.33-rc1~360^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6f5b0aa08078c3dabe377d5b1a6077e9c9352d3;p=pandora-kernel.git 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 Cc: Chris Mason Cc: Ingo Molnar Cc: Alexander Beregalov Signed-off-by: Frederic Weisbecker --- Reading git-diff-tree failed