From: Miao Xie Date: Wed, 15 Jan 2014 12:00:54 +0000 (+0800) Subject: Btrfs: change the members' order of btrfs_space_info structure to reduce the cache... X-Git-Tag: v3.14-rc1~29^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26b47ff65bcdff8473b87680d8f876c66208087b;p=pandora-kernel.git Btrfs: change the members' order of btrfs_space_info structure to reduce the cache miss It is better that the position of the lock is close to the data which is protected by it, because they may be in the same cache line, we will load less cache lines when we access them. So we rearrange the members' position of btrfs_space_info structure to make the lock be closer to the its data. Signed-off-by: Miao Xie Reviewed-by: David Sterba Signed-off-by: Josef Bacik Signed-off-by: Chris Mason --- Reading git-diff-tree failed