sch_dsmark: improve memory locality
authorEric Dumazet <edumazet@google.com>
Thu, 17 Sep 2015 23:37:13 +0000 (16:37 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Sep 2015 05:37:19 +0000 (22:37 -0700)
commit47bbbb30b4331ec58a74a66a044341f0114b02b3
tree5276b3b60784f2400041325ec54bdf393ff0335b
parent25354001d0f84f91201cb743aa52b7cac5fe4f9c
sch_dsmark: improve memory locality

Memory placement in sch_dsmark is silly : Better place mask/value
in the same cache line.

Also, we can embed small arrays in the first cache line and
remove a potential cache miss.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_dsmark.c