mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-16 18:15:52 +00:00
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> |
History
|
|
|---|---|---|
| .. | ||
| act200l-sir.c | ||
| act200l.c | ||
| actisys-sir.c | ||
| actisys.c | ||
| ali-ircc.c | ||
| ali-ircc.h | ||
| au1k_ir.c | ||
| au1000_ircc.h | ||
| donauboe.c | ||
| donauboe.h | ||
| ep7211_ir.c | ||
| esi-sir.c | ||
| esi.c | ||
| girbil-sir.c | ||
| girbil.c | ||
| irda-usb.c | ||
| irda-usb.h | ||
| irport.c | ||
| irport.h | ||
| irtty-sir.c | ||
| irtty-sir.h | ||
| Kconfig | ||
| litelink-sir.c | ||
| litelink.c | ||
| ma600-sir.c | ||
| ma600.c | ||
| Makefile | ||
| mcp2120-sir.c | ||
| mcp2120.c | ||
| mcs7780.c | ||
| mcs7780.h | ||
| nsc-ircc.c | ||
| nsc-ircc.h | ||
| old_belkin-sir.c | ||
| old_belkin.c | ||
| pxaficp_ir.c | ||
| sa1100_ir.c | ||
| sir-dev.h | ||
| sir_dev.c | ||
| sir_dongle.c | ||
| smsc-ircc2.c | ||
| smsc-ircc2.h | ||
| smsc-sio.h | ||
| stir4200.c | ||
| tekram-sir.c | ||
| tekram.c | ||
| toim3232-sir.c | ||
| via-ircc.c | ||
| via-ircc.h | ||
| vlsi_ir.c | ||
| vlsi_ir.h | ||
| w83977af.h | ||
| w83977af_ir.c | ||
| w83977af_ir.h | ||