android_kernel_xiaomi_sm8350/arch/s390/kernel
Theodore Ts'o 8e18e2941c [PATCH] inode_diet: Replace inode.u.generic_ip with inode.i_private
The following patches reduce the size of the VFS inode structure by 28 bytes
on a UP x86.  (It would be more on an x86_64 system).  This is a 10% reduction
in the inode size on a UP kernel that is configured in a production mode
(i.e., with no spinlock or other debugging functions enabled; if you want to
save memory taken up by in-core inodes, the first thing you should do is
disable the debugging options; they are responsible for a huge amount of bloat
in the VFS inode structure).

This patch:

The filesystem or device-specific pointer in the inode is inside a union,
which is pretty pointless given that all 30+ users of this field have been
using the void pointer.  Get rid of the union and rename it to i_private, with
a comment to explain who is allowed to use the void pointer.  This is just a
cleanup, but it allows us to reuse the union 'u' for something something where
the union will actually be used.

[judith@osdl.org: powerpc build fix]
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Judith Lebzelter <judith@osdl.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-09-27 08:26:17 -07:00
..
asm-offsets.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
audit.c [PATCH] audit: AUDIT_PERM support 2006-09-11 13:32:30 -04:00
binfmt_elf32.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
bitmap.S
compat_audit.c [PATCH] audit: AUDIT_PERM support 2006-09-11 13:32:30 -04:00
compat_exec_domain.c
compat_linux.c [S390] Fix sparse warnings. 2006-07-12 16:41:55 +02:00
compat_linux.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
compat_ptrace.h
compat_signal.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
compat_wrapper.S [PATCH] s390: add vmsplice system call 2006-05-15 11:20:55 -07:00
cpcmd.c
crash.c
debug.c [PATCH] inode_diet: Replace inode.u.generic_ip with inode.i_private 2006-09-27 08:26:17 -07:00
ebcdic.c
entry64.S [S390] Kernel stack overflow handling. 2006-09-20 15:59:22 +02:00
entry.S [S390] add kprobes support. 2006-09-20 15:58:39 +02:00
head31.S [S390] convert some assembler to C. 2006-09-20 15:59:15 +02:00
head64.S [S390] Use alternative user-copy operations for new hardware. 2006-09-20 15:59:44 +02:00
head.S [S390] convert some assembler to C. 2006-09-20 15:59:15 +02:00
init_task.c
ipl.c [S390] convert some assembler to C. 2006-09-20 15:59:15 +02:00
irq.c [PATCH] lockdep: irqtrace subsystem, move account_system_vtime() calls into kernel/softirq.c 2006-07-03 15:27:10 -07:00
kprobes.c [S390] add kprobes support. 2006-09-20 15:58:39 +02:00
machine_kexec.c [S390] path grouping and path verifications fixes. 2006-07-12 16:40:19 +02:00
Makefile [S390] ipl/dump on panic. 2006-09-20 15:58:49 +02:00
module.c [S390] Fix sparse warnings. 2006-07-12 16:41:55 +02:00
process.c [S390] Fix sparse warnings. 2006-07-12 16:41:55 +02:00
profile.c [S390] Fix sparse warnings. 2006-07-12 16:41:55 +02:00
ptrace.c [PATCH] drop task argument of audit_syscall_{entry,exit} 2006-05-01 06:06:18 -04:00
reipl64.S [S390] ipl/dump on panic. 2006-09-20 15:58:49 +02:00
reipl.S [S390] ipl/dump on panic. 2006-09-20 15:58:49 +02:00
relocate_kernel64.S
relocate_kernel.S
s390_ext.c [S390] Fix sparse warnings. 2006-07-12 16:41:55 +02:00
s390_ksyms.c [S390] Make user-copy operations run-time configurable. 2006-09-20 15:59:42 +02:00
semaphore.c
setup.c [S390] Use alternative user-copy operations for new hardware. 2006-09-20 15:59:44 +02:00
signal.c [S390] Cleanup in signal handling code. 2006-09-20 15:59:39 +02:00
smp.c [S390] ipl/dump on panic. 2006-09-20 15:58:49 +02:00
stacktrace.c [PATCH] x86: Some preparationary cleanup for stack trace 2006-09-26 10:52:34 +02:00
sys_s390.c
syscalls.S [PATCH] s390: add vmsplice system call 2006-05-15 11:20:55 -07:00
time.c [S390] Fix sparse warnings. 2006-07-12 16:41:55 +02:00
traps.c [S390] add kprobes support. 2006-09-20 15:58:39 +02:00
vmlinux.lds.S [S390] __exit cleanup. 2006-09-20 15:59:12 +02:00
vtime.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00