Re: VM deadlock

From: Rik van Riel (
Date: Wed Jun 27 2001 - 14:43:28 EST

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.



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

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to More majordomo info at Please read the FAQ at

This archive was generated by hypermail 2b29 : Sat Jun 30 2001 - 21:00:17 EST