diff options
author | Richard Kennedy <richard@rsk.demon.co.uk> | 2008-05-18 07:32:57 -0400 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2008-07-14 01:01:37 -0400 |
commit | fdeb05184b8b2500e120647778d63fddba76dc59 (patch) | |
tree | 19e745966786f4af3d589018d6dc738aeb5f1321 /security/selinux | |
parent | f5269710789f666a65cf1132c4f1d14fbc8d3c29 (diff) |
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 <richard@rsk.demon.co.uk>
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'security/selinux')
-rw-r--r-- | security/selinux/include/objsec.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/include/objsec.h b/security/selinux/include/objsec.h index 032c2357dad1..5f0be19ca43a 100644 --- a/security/selinux/include/objsec.h +++ b/security/selinux/include/objsec.h | |||
@@ -43,8 +43,8 @@ struct inode_security_struct { | |||
43 | u32 sid; /* SID of this object */ | 43 | u32 sid; /* SID of this object */ |
44 | u16 sclass; /* security class of this object */ | 44 | u16 sclass; /* security class of this object */ |
45 | unsigned char initialized; /* initialization flag */ | 45 | unsigned char initialized; /* initialization flag */ |
46 | struct mutex lock; | ||
47 | unsigned char inherit; /* inherit SID from parent entry */ | 46 | unsigned char inherit; /* inherit SID from parent entry */ |
47 | struct mutex lock; | ||
48 | }; | 48 | }; |
49 | 49 | ||
50 | struct file_security_struct { | 50 | struct file_security_struct { |