YAMAMOTO Takashi <y...@mwd.biglobe.ne.jp> wrote: > as i told you a few times, ioflush is not a thread to free memory. > pagedaemon is.
Sure ioflush do not directly free memory, but vnodes' dirty page use memory, don't they? If ioflush stops working, is pageadaemon able to pageout that kind of memory? > please read ufs_bmaparray and grep "uvm.pagedaemon_lwp" > in src/sys/kern/ to see what other filesystems do. i don't think this > approach works for puffs because it's almost impossible to say in which > cases an operation needs memory allocation to complete, though. It is indeed impossible, as we cannot know what the userland filesystem will do. -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org