Re: [PATCH] [CRYPTO] cast6: inline bloat--

2008-01-07 Thread Herbert Xu
On Mon, Jan 07, 2008 at 03:40:58PM +0200, Ilpo Järvinen wrote: > Bloat-o-meter shows rather high readings for cast6... > > crypto/cast6.c: > cast6_setkey | -1310 > cast6_encrypt | -4567 > cast6_decrypt | -4561 > 3 functions changed, 10438 bytes removed, diff: -10438 > > crypto/cast6.c: >

Re: [CRYPTO] api: Set default CRYPTO_MINALIGN to unsigned long long

2008-01-07 Thread David Miller
From: Herbert Xu <[EMAIL PROTECTED]> Date: Tue, 8 Jan 2008 17:17:57 +1100 > On Tue, Jan 08, 2008 at 05:15:48PM +1100, Herbert Xu wrote: > > > > Good point. I'll get rid of that too. > > I've replaced that patch with this: > > [CRYPTO] api: Set default CRYPTO_MINALIGN to unsigned long long Loo

Re: [CRYPTO] api: Set default CRYPTO_MINALIGN to unsigned long long

2008-01-07 Thread Herbert Xu
On Tue, Jan 08, 2008 at 05:15:48PM +1100, Herbert Xu wrote: > > Good point. I'll get rid of that too. I've replaced that patch with this: [CRYPTO] api: Set default CRYPTO_MINALIGN to unsigned long long Thanks to David Miller for pointing out that the SLAB (or SLOB/SLUB) cache uses the alignmen

Re: [CRYPTO] api: Set default CRYPTO_MINALIGN to unsigned long long

2008-01-07 Thread Herbert Xu
On Mon, Jan 07, 2008 at 10:14:25PM -0800, David Miller wrote: > > Not to nit-pick but the CRYPTO_MINALIGN ifdef there at the > end is superfluous. It will always be defined. Good point. I'll get rid of that too. Thanks, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~}

Re: [CRYPTO] api: Set default CRYPTO_MINALIGN to unsigned long long

2008-01-07 Thread David Miller
From: Herbert Xu <[EMAIL PROTECTED]> Date: Tue, 8 Jan 2008 17:09:11 +1100 > diff --git a/include/linux/crypto.h b/include/linux/crypto.h > index 0aba104..6a20fc9 100644 > --- a/include/linux/crypto.h > +++ b/include/linux/crypto.h > @@ -90,6 +90,8 @@ > #define CRYPTO_MINALIGN ARCH_KMALLOC_MINALIG

Re: [RFC 1/2] [XFRM] remove ifdef crypto

2008-01-07 Thread Herbert Xu
On Sat, Jan 05, 2008 at 01:36:37PM +0100, Sebastian Siewior wrote: > and select the crypto subsystem if neccessary > > Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]> Could you please resend this patch to David Miller and cc netdev? I'll merge the other once this one is in Linus's tree. Th

[CRYPTO] api: Set default CRYPTO_MINALIGN to unsigned long long

2008-01-07 Thread Herbert Xu
Hi: I've just added this patch to cryptodev-2.6. [CRYPTO] api: Set default CRYPTO_MINALIGN to unsigned long long Thanks to David Miller for pointing out that the SLAB (or SLOB/SLUB) cache uses the alignment of unsigned long long if the architecture kmalloc/slab alignment macros are not defin

Re: ext3 filesystem is not recognized after losetup -e aes

2008-01-07 Thread Dennison Williams
I am pretty confident that this problem is somewhere in the block driver / crypto driver combo and am considering digging through the code. Before I do can anyone point me in the direction pertinent documentation , specific drivers, etc.? Dennison Williams wrote: > Here is the setup: MD software R

[PATCH] [CRYPTO] cast6: inline bloat--

2008-01-07 Thread Ilpo Järvinen
Bloat-o-meter shows rather high readings for cast6... crypto/cast6.c: cast6_setkey | -1310 cast6_encrypt | -4567 cast6_decrypt | -4561 3 functions changed, 10438 bytes removed, diff: -10438 crypto/cast6.c: W| +659 Q| +308 QBAR | +316 3 functions changed, 1283 bytes added, d