summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorGiuseppe CAVALLARO <peppe.cavallaro@st.com>2013-04-08 02:10:02 +0000
committerDavid S. Miller <davem@davemloft.net>2013-04-08 16:55:27 -0400
commit1bb6dea8cc208e6bac824fcdaa3dc63d38901ca7 (patch)
tree23e495b81b81d2dbaa0f3dd11ad3f700faf65a5a /net
parentceb694997e1b5d45627553ac7b1f88ff16cb9507 (diff)
stmmac: review private structure fields
recently many new supports have been added in the stmmac driver w/o taking care about where each new field had to be placed inside the private structure for guaranteeing the best cache usage. This is what I wanted in the beginning, so this patch reorganizes all the fields in order to keep adjacent fields for cache effect. I have also tried to optimize them by using pahole. V2: do not abuse with ____cacheline_aligned_in_smp and keep fields that potentially could stay in the same cache-line for better usage in SMP systems. Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions