Re: [PATCH] selinux: reorder inode_security_struct to increaseobjs/slab on 64bit
From: Richard Kennedy
Date: Mon May 19 2008 - 04:30:27 EST
On Mon, 2008-05-19 at 09:18 +1000, James Morris wrote:
> On Sun, 18 May 2008, Richard Kennedy wrote:
> > reorder inode_security_struct to remove padding on 64 bit builds
> > size reduced from 72 to 64 bytes increasing objects per slab to 64.
> > Signed-off-by: Richard Kennedy <richard@xxxxxxxxxxxxxxx>
> Thanks, applied to
> (Although I see a reduction from 164 to 160 bytes).
> - James
In that case I think you've got all the lock & mutex debugging turned
CONFIG_DEBUG_MUTEXES & CONFIG_DEBUG_LOCK_ALLOC will add a lot to the
CONFIG_GENERIC_LOCKBREAK, CONFIG_DEBUG_SPINLOCK &
CONFIG_DEBUG_LOCK_ALLOC will each grow the spinlock contained in the
However, I'm seeing all structures packed to size of 8n -- so I'd never
get a sizeof 164. Maybe that's just a platform/compiler difference ?
I'm running on AMD 64 & gcc 4.1.2
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/