Re: VM deadlock

Rik van Riel (riel@conectiva.com.br)
Wed, 27 Jun 2001 16:43:28 -0300 (BRST)


On Wed, 27 Jun 2001, Chris Mason wrote:

> Reiserfs expects write_inode() calls initiated by kswapd to
> always have sync==0. Otherwise, kswapd ends up waiting on the
> log, which isn't what we want at all.

If you don't have free memory, you are limited to 2 choices:

1) wait on IO
2) spin endlessly, wasting CPU until the IO is done

If (1) isn't possible in reiserfs, I'd say something in
reiserfs needs to be fixed, otherwise you will always
have problems when the system has lots of dirty mappings
that need to be written out.

regards,

Rik

--
Executive summary of a recent Microsoft press release:
   "we are concerned about the GNU General Public License (GPL)"

http://www.surriel.com/ http://www.conectiva.com/ http://distro.conectiva.com/

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/