Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/fs/puffs



YAMAMOTO Takashi <yamt%mwd.biglobe.ne.jp@localhost> wrote:

> > This avoids deadlocks in the following situations:
> > 1) when memory is low: ioflush waits the fileystem, the fielsystem waits
> >    for memory 
> can you explain how it is a problem?

As I understand, one way to free memory is to flush vnode backed pages
to the backend storage. If ioflush calls VOP_FSYNC on a memory-starved
userland filesystem, it will get stuck until the filesystem gets memory
again, and while it is stuck, it does not help freeing memory.

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index