summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Morton <akpm@digeo.com>2002-09-19 08:36:43 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2002-09-19 08:36:43 -0700
commitbd90a275f400dc3b46dd72cec221f1db13bffc0f (patch)
tree56d09584feb92c9effd6fee63227b427a09564ac /include
parent62a29ea164355f3b28073a28d839cf8e046381f7 (diff)
[PATCH] writev speedup
A patch from Hirokazu Takahashi to speed up the new sped-up writev code. Instead of running ->prepare_write/->commit_write for each individual segment, we walk the segments between prepage and commit. So potentially much larger amounts of data are passed to commit_write(), and prepare_write() is called much less often. Added bonus: the segment walk happens inside the kmap_atomic(), so we run kmap_atomic() once per page, not once per segment. We've demonstrated a speedup of over 3x. This is writing 1024-segment iovecs where the individual segments have an average length of 24 bytes, which is a favourable case for this patch.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions