Eric Biggers <ebiggers@xxxxxxxxxx> wrote: > From: Eric Biggers <ebiggers@xxxxxxxxxx> > > Remove 32-bit support from the fast path in xts_crypt(). Then optimize > it for 64-bit, and simplify the code, by switching to sg_virt() and > removing the now-unnecessary checks for crossing a page boundary. > > The result is simpler code that is slightly smaller and faster in the > case that actually matters (64-bit). > > Signed-off-by: Eric Biggers <ebiggers@xxxxxxxxxx> > --- > arch/x86/crypto/aesni-intel_glue.c | 30 ++++++++++-------------------- > 1 file changed, 10 insertions(+), 20 deletions(-) Patch applied. Thanks. -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt