From: Richard Kennedy Date: Sun, 18 May 2008 11:32:57 +0000 (+0100) Subject: SELinux: reorder inode_security_struct to increase objs/slab on 64bit X-Git-Tag: v2.6.27-rc1~1109^2~21 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=fdeb05184b8b2500e120647778d63fddba76dc59;p=linux-2.6-omap-h63xx.git SELinux: reorder inode_security_struct to increase objs/slab on 64bit 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 Signed-off-by: James Morris --- diff --git a/security/selinux/include/objsec.h b/security/selinux/include/objsec.h index 032c2357dad..5f0be19ca43 100644 --- a/security/selinux/include/objsec.h +++ b/security/selinux/include/objsec.h @@ -43,8 +43,8 @@ struct inode_security_struct { u32 sid; /* SID of this object */ u16 sclass; /* security class of this object */ unsigned char initialized; /* initialization flag */ - struct mutex lock; unsigned char inherit; /* inherit SID from parent entry */ + struct mutex lock; }; struct file_security_struct {