RE: Swap on Fuse deadlocks?

From: David Schwartz
Date: Mon Sep 25 2006 - 20:08:42 EST



> Swap on disk I don't get. A little slow perhaps due to the LZO or zlib
> compression in the middle (lzolayer lets you pick either); but a total
> freeze? What's wrong here, is lzo_fs data getting swapped out and then
> not swapped in because it's needed to decompress itself?

The filesystem would have to make sure to lock in memory itself and any code it might need. Obviously, if the filesystem code itself gets swapped out, you cannot swap it back in again ever. Any user-space filesystem that expects to handle swap had better call 'mlock'.

DS


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