Re: [PATCH -v3 2/3] crypto: Add fpu template, a wrapper forblkcipher touching FPU

From: Herbert Xu
Date: Sun Mar 29 2009 - 03:42:28 EST


On Wed, Mar 18, 2009 at 11:21:57AM +0800, Huang Ying wrote:
> Blkcipher touching FPU need to be enclosed by kernel_fpu_begin() and
> kernel_fpu_end(). If they are invoked in cipher algorithm
> implementation, they will be invoked for each block, so that
> performance will be hurt, because they are "slow" operations. This
> patch implements "fpu" template, which makes these operations to be
> invoked for each request.
>
> v2: Make FPU mode invisible to end user
>
> Signed-off-by: Huang Ying <ying.huang@xxxxxxxxx>

I've applied all the three patches with no changes except moving
fpu.c into arch/x86/crypto.

Thanks,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
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/