Module Name: src Committed By: pooka Date: Tue Sep 7 21:11:10 UTC 2010
Modified Files: src/sys/rump/librump/rumpkern: rump.c rump_private.h vm.c src/sys/rump/librump/rumpvfs: rump_vfs.c rump_vfs_private.h Log Message: Make the Diabolical (Page)Daemon Director drain vfs buffers when we are short of memory. There are still some funnies left to iron out. For example, with a certain file system / memory size configuration it's still not possible to create enough files to make the file system run out of inodes before the kernel runs out of memory. Also, with some other configurations disk access slows down gargantually (though i'm sure there are >0 buffers available). Anyway, it ~works for now and it's by no means worse than what it was before. To generate a diff of this commit: cvs rdiff -u -r1.187 -r1.188 src/sys/rump/librump/rumpkern/rump.c cvs rdiff -u -r1.57 -r1.58 src/sys/rump/librump/rumpkern/rump_private.h cvs rdiff -u -r1.90 -r1.91 src/sys/rump/librump/rumpkern/vm.c cvs rdiff -u -r1.57 -r1.58 src/sys/rump/librump/rumpvfs/rump_vfs.c cvs rdiff -u -r1.13 -r1.14 src/sys/rump/librump/rumpvfs/rump_vfs_private.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.