Skip to content

Inode slimming patches, part 1

Theodore Ts'o lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8inode_diet: Replace inode.u.generic_ip with inode.i_privatearch/powerpc/platforms/cell/spufs/inode.c arch/s390/hypfs/inode.c arch/s390/kernel/debug.c +43 more+120 -1220 replies
2/8inode-diet: Move i_pipe into a unioninclude/linux/fs.h+3 -20 replies
3/8inode-diet: Move i_bdev into a unionfs/inode.c include/linux/fs.h+2 -20 replies
4/8inode-diet: Move i_cdev into a unionfs/file_table.c fs/inode.c include/linux/fs.h+3 -30 replies
5/8inode-diet: Eliminate i_blksize and use a per-superblock defaultarch/powerpc/platforms/cell/spufs/inode.c arch/s390/hypfs/inode.c drivers/block/loop.c +80 more+21 -1260 replies
6/8inode-diet: Move i_cindex from struct inode to struct filedrivers/ieee1394/ieee1394_core.h fs/char_dev.c include/linux/fs.h+3 -32 replies
7/8inode-diet: Use a union for i_blocks and i_size, i_rdev and i_devicesfs/stat.c include/linux/fs.h+13 -76 replies
8/8inode-diet: Fix size of i_blkbits, i_version, and i_dnotify_maskinclude/linux/fs.h+3 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [patch 0/8] Inode slimming patches, part 1

The following patches are against 2.6.17-mm5, and 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).

- Ted