linux/security/selinux
Eric Dumazet 2f51201662 [PATCH] reduce sizeof(struct file)
Now that RCU applied on 'struct file' seems stable, we can place f_rcuhead
in a memory location that is not anymore used at call_rcu(&f->f_rcuhead,
file_free_rcu) time, to reduce the size of this critical kernel object.

The trick I used is to move f_rcuhead and f_list in an union called f_u

The callers are changed so that f_rcuhead becomes f_u.fu_rcuhead and f_list
becomes f_u.f_list

Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-10-30 17:37:19 -08:00
..
include [PATCH] Remove security_inode_post_create/mkdir/symlink/mknod hooks 2005-09-09 13:57:28 -07:00
ss [PATCH] SELinux: convert to kzalloc 2005-10-30 17:37:11 -08:00
avc.c Merge master.kernel.org:/pub/scm/linux/kernel/git/dwmw2/audit-2.6 2005-09-13 09:47:30 -07:00
hooks.c [PATCH] reduce sizeof(struct file) 2005-10-30 17:37:19 -08:00
Kconfig
Makefile
netif.c [PATCH] SELinux: convert to kzalloc 2005-10-30 17:37:11 -08:00
netlink.c
nlmsgtab.c
selinuxfs.c [PATCH] reduce sizeof(struct file) 2005-10-30 17:37:19 -08:00