diff options
| author | Andrew Morton <akpm@digeo.com> | 2002-12-02 21:33:00 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-12-02 21:33:00 -0800 |
| commit | c384a968f0dcd1fa3b2384d50568b0b87470dc99 (patch) | |
| tree | 55e9db0758c48fe5b23abac7aafb0349a0a89dca /include/linux/string.h | |
| parent | 3c7b8b3c844984c02fd1c2541dc245136006a1ea (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/linux/string.h')
0 files changed, 0 insertions, 0 deletions
