Messages in this thread | | | Date | Mon, 5 Jul 2010 12:58:55 +0200 | From | Steffen Klassert <> | Subject | Re: [PATCH 1/3] padata: separate serial and parallel cpumasks |
| |
On Fri, Jul 02, 2010 at 05:01:28PM +0400, Dan Kruchinin wrote: > > Sounds good. But if I understand linux crypto framework right, it > calls init_tfm every time it creates new security association. Ideally > pcrypt should have only two cpumasks one for pencrypt instance and > another for pdecrypt. > If we'll initialize these cpumasks in pcrypt_alloc_tfm they'll be > initialized every time new SA appears.
Yes, you are absolutely right. Placing this to instance context is the right way to do it.
Thanks,
Steffen
| |