summaryrefslogtreecommitdiff
path: root/drivers/char/mbcs.h
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-08-26 16:34:00 +0200
committerDavid S. Miller <davem@davemloft.net>2013-08-29 14:55:54 -0400
commit76bfd8984430be5b19727d09f6ab5e1d7a247f8c (patch)
treea41d90d3aa24724ada4945fca3085dfeab9bef4b /drivers/char/mbcs.h
parent03536cc3ad611f29a35803d37a44414b823135c3 (diff)
net: sctp: reorder sctp_globals to reduce cacheline usage
Reduce cacheline usage from 2 to 1 cacheline for sctp_globals structure. By reordering elements, we can close gaps and simply achieve the following: Current situation: /* size: 80, cachelines: 2, members: 10 */ /* sum members: 57, holes: 4, sum holes: 16 */ /* padding: 7 */ /* last cacheline: 16 bytes */ Afterwards: /* size: 64, cachelines: 1, members: 10 */ /* padding: 7 */ Signed-off-by: Daniel Borkmann <dborkman@redhat.com> Acked-by: Neil Horman <nhorman@tuxdriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/char/mbcs.h')
0 files changed, 0 insertions, 0 deletions