From: Herbert Xu Subject: Re: [PATCH -v3 2/3] crypto: Add fpu template, a wrapper for blkcipher touching FPU Date: Sun, 29 Mar 2009 15:42:04 +0800 Message-ID: <20090329074204.GA11735@gondor.apana.org.au> References: <1237346517.24215.241.camel@yhuang-dev.sh.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Sebastian Andrzej Siewior , linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org To: Huang Ying Return-path: Received: from rhun.apana.org.au ([64.62.148.172]:45461 "EHLO arnor.apana.org.au" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751304AbZC2HmO (ORCPT ); Sun, 29 Mar 2009 03:42:14 -0400 Content-Disposition: inline In-Reply-To: <1237346517.24215.241.camel@yhuang-dev.sh.intel.com> Sender: linux-crypto-owner@vger.kernel.org List-ID: 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 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~} Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt