summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Morton <akpm@digeo.com>2002-12-02 21:33:00 -0800
committerLinus Torvalds <torvalds@home.transmeta.com>2002-12-02 21:33:00 -0800
commitc384a968f0dcd1fa3b2384d50568b0b87470dc99 (patch)
tree55e9db0758c48fe5b23abac7aafb0349a0a89dca /include
parent3c7b8b3c844984c02fd1c2541dc245136006a1ea (diff)
[PATCH] readdir speedup and fixes
2.5 is 20% slower than 2.4 in an AIM9 test which is just running readdir across /bin. A lot of this is due to lots of tiny calls to copy_to_user() in fs/readdir.c. The patch speeds up that test by 50%, so it's comfortably faster than 2.4. Also, there were lots of unchecked copy_to_user() and put_user() calls in there. Fixed all that up as well. The patch assumes that each arch has a working 64-bit put_user(), which appears to be the case.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions