truncate_inode_pages
mm/filemap.c Sun Jun 10 11:29:19 2001
Quoted 9 lines
Quoted 2 lines · Daniel Phillips
This is easy, just set the list head to the page about to be truncated.
Works for me.
mm/filemap.c Sun Jun 10 11:29:19 2001 renamed from mm/filemap.c Mon May 28 13:31:49 2001 +0
-0@@ -235,12 +235,13 @@
[snip]
Works for me 12 times faster on my Athlon 550 and ReiserFS.
System:
Athlon 550 (old one, 0.25 µm)
MSI MS-6167 Rev 1.0B (Irongate C4)
320 MB SDRAM PC100-2-2-2
AHA-2940UW
IBM DDYS-T18350N 18 GB (UW/U160)
Kernel 2.4.5-ac12
Glibc-2.2 (SuSE 7.1)
SunWave1>cat /proc/version
Linux version 2.4.5-ac12 (root@SunWave1) (gcc version 2.95.2 19991024 (release)) #1 Sat Jun 9 17:41:07 CEST 2001
SunWave1>time ./ftruncate
0.430u 54.790s 1:00.09 91.8% 0+0k 0+0io 32887pf+0w
With the mm/filemap.c fix:
SunWave1>cat /proc/version
Linux version 2.4.5-ac12 (root@SunWave1) (gcc version 2.95.2 19991024 (release)) #1 Sun Jun 10 22:49:07 CEST 2001
SunWave1>time ./ftruncate
0.220u 1.670s 0:05.13 36.8% 0+0k 0+0io 32852pf+0w
Thanks,
Dieter
Am Dienstag, 12. Juni 2001 14:32 schrieb Daniel Phillips:
Quoted 9 lines · you
Quoted 2 lines
Now with -ac13 and the third try.
Is it final?There have been no further problems reported, but it's Andrew Morton's patch, his decision.
--
Daniel
Hello Andrew,
have you forwarded it to Alan for apply?
Thanks,
Dieter