]> git.baikalelectronics.ru Git - kernel.git/commit
Reorganize data elements to reduce struct sizes
authorGoldwyn Rodrigues <rgoldwyn@gmail.com>
Thu, 10 Jun 2010 22:21:36 +0000 (17:21 -0500)
committerJoel Becker <joel.becker@oracle.com>
Fri, 10 Sep 2010 15:39:27 +0000 (08:39 -0700)
commitd3955fceb5bd2dd5d9e2cec82d0804417b9e4a25
tree2b1656fbf0bfbff76b9d9d062546f33a7b3236b1
parent286e76d98a41bde5402d70ea0c4501fff7a797a9
Reorganize data elements to reduce struct sizes

Thanks for the comments. I have incorportated them all.

CONFIG_OCFS2_FS_STATS is enabled and CONFIG_DEBUG_LOCK_ALLOC is disabled.
Statistics now look like -
ocfs2_write_ctxt: 2144 - 2136 = 8
ocfs2_inode_info: 1960 - 1848 = 112
ocfs2_journal: 168 - 160 = 8
ocfs2_lock_res: 336 - 304 = 32
ocfs2_refcount_tree: 512 - 472 = 40

Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.de>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/aops.c
fs/ocfs2/inode.h
fs/ocfs2/journal.h
fs/ocfs2/ocfs2.h
fs/ocfs2/refcounttree.h