Re: [PATCH] selinux: reorder inode_security_struct to increase objs/slab on 64bit

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: James Morris <jmorris@...>
Cc: <sds@...>, lkml <linux-kernel@...>
Date: Monday, May 19, 2008 - 4:21 am

On Mon, 2008-05-19 at 09:18 +1000, James Morris wrote: 

In that case I think you've got all the lock & mutex debugging turned
on :)
CONFIG_DEBUG_MUTEXES & CONFIG_DEBUG_LOCK_ALLOC will add a lot to the
mutex directly.

CONFIG_GENERIC_LOCKBREAK, CONFIG_DEBUG_SPINLOCK &
CONFIG_DEBUG_LOCK_ALLOC will each grow the spinlock contained in the
mutex.

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


Richard



--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] selinux: reorder inode_security_struct to increa..., Richard Kennedy, (Mon May 19, 4:21 am)