diff options
author | Junchao Sun <sunjunchao2870@gmail.com> | 2024-06-03 21:15:24 +0800 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2024-08-20 21:37:00 -0400 |
commit | a3c3eecc7c876c7f2b09d9ee1acf5b8b85996cff (patch) | |
tree | 80bccc1e0ec9c47946a5502b49459c53bb961ea7 /fs/ext4/fast_commit.c | |
parent | 47ac09b91befbb6a235ab620c32af719f8208399 (diff) | |
download | linux-a3c3eecc7c876c7f2b09d9ee1acf5b8b85996cff.tar.gz linux-a3c3eecc7c876c7f2b09d9ee1acf5b8b85996cff.tar.bz2 linux-a3c3eecc7c876c7f2b09d9ee1acf5b8b85996cff.zip |
ext4: adjust the layout of the ext4_inode_info structure to save memory
Using pahole, we can see that there are some padding holes
in the current ext4_inode_info structure. Adjusting the
layout of ext4_inode_info can reduce these holes,
resulting in the size of the structure decreasing
from 2424 bytes to 2408 bytes.
Signed-off-by: Junchao Sun <sunjunchao2870@gmail.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://patch.msgid.link/20240603131524.324224-1-sunjunchao2870@gmail.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/fast_commit.c')
0 files changed, 0 insertions, 0 deletions