diff options
author | Daniel Borkmann <dborkman@redhat.com> | 2013-08-26 16:34:00 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-08-29 14:55:54 -0400 |
commit | 76bfd8984430be5b19727d09f6ab5e1d7a247f8c (patch) | |
tree | a41d90d3aa24724ada4945fca3085dfeab9bef4b /drivers/char | |
parent | 03536cc3ad611f29a35803d37a44414b823135c3 (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')
0 files changed, 0 insertions, 0 deletions