aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/struct-funcs.c
diff options
context:
space:
mode:
authorStefan Richter <[email protected]>2008-11-29 18:00:56 +0000
committerStefan Richter <[email protected]>2009-01-04 22:50:38 +0000
commitc8a12d45d543905a2718fccafd612edbd73a1341 (patch)
treeb14e18eb68be2da1e9971ce5094ccc54b9030ef8 /fs/btrfs/struct-funcs.c
parentfirewire: fix resetting of bus manager retry counter (diff)
downloadkernel-c8a12d45d543905a2718fccafd612edbd73a1341.tar.gz
kernel-c8a12d45d543905a2718fccafd612edbd73a1341.zip
firewire: reorder struct fw_card for better cache efficiency
topology_map is by far the largest member in struct fw_card. Move it to the very end of the struct so that card pointer dereferences have better chances to hit the CPU cache. This requires to increase the topology_map backing store to the size specified in IEEE 1394, i.e. 256 rather than 255 quadlets. Otherwise the topology_map response handler may access invalid memory. Signed-off-by: Stefan Richter <[email protected]>
Diffstat (limited to 'fs/btrfs/struct-funcs.c')
0 files changed, 0 insertions, 0 deletions