]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] __block_write_full_page speedup
authorAndrew Morton <akpm@osdl.org>
Thu, 5 May 2005 23:15:47 +0000 (16:15 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 5 May 2005 23:36:41 +0000 (16:36 -0700)
commitcf848fad4b3bcf588bb5d9cb72a8f93b39d59500
tree415bec7602a12a94ae4bc9b1aa512a1d55bb957d
parentac05ff3eb4758401fdabef1bfffefeaed4471313
[PATCH] __block_write_full_page speedup

Remove all those get_bh()'s and put_bh()'s by extending lock_page() to cover
the troublesome regions.

(get_bh() and put_bh() happen every time whereas contention on a page's lock
in there happens basically never).

Cc: Nick Piggin <nickpiggin@yahoo.com.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/buffer.c