Re: [PATCH net-next] sch_dsmark: improve memory locality

2015-09-17 Thread David Miller
From: Eric Dumazet Date: Thu, 17 Sep 2015 16:37:13 -0700 > From: Eric Dumazet > > 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: Eri

[PATCH net-next] sch_dsmark: improve memory locality

2015-09-17 Thread Eric Dumazet
From: Eric Dumazet 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 --- net/sched/sch_dsmark.c | 63 ---