Messages in this thread |  | | | Subject | Re: [PATCH 01/04] Adding cipher mode context information to crypto_tfm | | From | Christophe Saout <> | | Date | Thu, 10 Feb 2005 02:37:36 +0100 |
| |
Am Mittwoch, den 09.02.2005, 17:19 -0800 schrieb Andrew Morton:
> > It must be > > possible to process more than 2 mappings in softirq context. > > Adding a few more fixmap slots wouldn't hurt anyone. But if you want an > arbitrarily large number of them then no, we cannot do that. > > Possibly one could arrange for the pages to not be in highmem at all.
In the case of the LRW use in dm-crypt only plain- and ciphertext need to be accessible through struct page (both are addressed through BIO vectors). The LRW tweaks could simply be kmalloced. So instead of passing "struct scatterlist *tweaksg" we could just pass a "void *tweaksg".
Some of the hard work on the generic scatterlist walker would be for nothing then. :(
[unhandled content-type:application/pgp-signature] |  |