From: Stefan Richter Date: Sat, 29 Nov 2008 18:00:56 +0000 (+0100) Subject: firewire: reorder struct fw_card for better cache efficiency X-Git-Tag: v2.6.29-rc1~187^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8a12d45d543905a2718fccafd612edbd73a1341;p=pandora-kernel.git 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 --- Reading git-diff-tree failed