lkml.org 
[lkml]   [2001]   [Sep]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: encrypted swap on loop in 2.4.10-pre12?
From
Date
loop-aes does not work to encrypt swap using 2.4.10-pre12.  the same
panic results during mkswap.

On Thu, 2001-09-20 at 08:25, Jens Axboe wrote:
> On Thu, Sep 20 2001, Jari Ruusu wrote:
> > Jens Axboe wrote:
> > > On Thu, Sep 20 2001, Jari Ruusu wrote:
> > > > Cryptoapi can't be used to encrypt swap. It has nasties like sleeping in
> > > > make_request_fn() and potential memory allocation deadlock.
> > >
> > > sleeping in make_request_fn is not a nasty in itself, btw. in fact loop
> > > just needs an emergency page pool for swap to be perfectly safe.
> >
> > loop-AES provides emergency page pool for device backed loop. Take a look.
>
> Then sleeping in make_request_fn is not a nasty at all. In fact the
> kernel does it all the time anyways.
>
--
http://chemlab.org - email shade-pgpkey@chemlab.org for pgp public key
chemlab radio! - drop out @ http://mp3.chemlab.org:8000 24-7-365

"i could build anything if i could just find my tools.."
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 13:03    [W:0.076 / U:0.908 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site