summaryrefslogtreecommitdiffstats
path: root/drivers/usb/mon/mon_bin.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@redhat.com>2009-07-05 21:08:18 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2009-07-06 22:57:03 +0200
commitc8236db9cd7aa492dcfcdcca702638e704abed49 (patch)
tree75eb83051298fd1f9df426cafaaa6d3c422d1b68 /drivers/usb/mon/mon_bin.c
parentelf: fix multithreaded program core dumping on arm (diff)
downloadlinux-c8236db9cd7aa492dcfcdcca702638e704abed49.tar.xz
linux-c8236db9cd7aa492dcfcdcca702638e704abed49.zip
mm: mark page accessed before we write_end()
In testing a backport of the write_begin/write_end AOPs, a 10% re-read regression was noticed when running iozone. This regression was introduced because the old AOPs would always do a mark_page_accessed(page) after the commit_write, but when the new AOPs where introduced, the only place this was kept was in pagecache_write_end(). This patch does the same thing in the generic case as what is done in pagecache_write_end(), which is just to mark the page accessed before we do write_end(). Signed-off-by: Josef Bacik <jbacik@redhat.com> Acked-by: Nick Piggin <npiggin@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/usb/mon/mon_bin.c')
0 files changed, 0 insertions, 0 deletions