swap & deadlocks [was Re: Encrypted Swap]

Pavel Machek (pavel@suse.cz)
Mon, 13 Aug 2001 03:32:14 +0000


Hi!

> > I was just searching for swap-encryption-solutions in the lkml-archive.
> > Did I get the point saying ther's no way to do swap encryption
> > in linux right now? (Well, a swapfile in an encrypted kerneli
> > partition r something like that is not really what I want to
> > do I think).
>
> cryptoloop on the blkdev or filebacked should work just fine. However it
> will increase memory pressure and it increases the probability for a
> deadlock (but normal 2.4 swap activities can deadlock anyways if you do
> the math).

Can you show me the math? I guess this should be fixed...
Pavel
OTOH if it is not fixed, I can forget about nbd swap deadlocks --they too
happen only seldom ;-)

-- 
Philips Velo 1: 1"x4"x8", 300gram, 60, 12MB, 40bogomips, linux, mutt,
details at http://atrey.karlin.mff.cuni.cz/~pavel/velo/index.html.

- 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/