From: Claudiu Manoil Date: Tue, 29 Jan 2013 03:55:10 +0000 (+0000) Subject: gianfar: Optimize struct gfar_priv_tx_q for two cache lines X-Git-Tag: v3.9-rc1~139^2~225 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0cd3fdea07d8e0f0f5bac7534892b785af37e387;p=pandora-kernel.git gianfar: Optimize struct gfar_priv_tx_q for two cache lines Resize and regroup structure members to eliminate memory holes and to pack the structure into 2 cache lines (from 3). tx_ring_size was resized from 4 to 2 bytes and few members were re-grouped in order to eliminate byte holes and achieve compactness. Where possible, few members were grouped according to their usage and access order (i.e. start_xmit vs. clean_tx_ring members), less important members were pushed at the end. Signed-off-by: Claudiu Manoil Signed-off-by: David S. Miller --- Reading git-diff-tree failed