buffers: improve cache occupancy 79/28679/2
authorDamjan Marion <damarion@cisco.com>
Fri, 4 Sep 2020 10:34:58 +0000 (12:34 +0200)
committerDamjan Marion <dmarion@me.com>
Fri, 4 Sep 2020 12:45:46 +0000 (12:45 +0000)
commit0be1b764a3111a4107f81e42fba9cf99bf1c9baf
tree46875ebf539cb468fa4d230c335b89643bf4cbbb
parent93a7f63943ab6ed2460321f38c90246b1585f0c8
buffers: improve cache occupancy

Adjust buffer allocation so it always have odd number of cache lines.
That should result in better distribution of cachelines among cache sets.

Type: improvement
Change-Id: I0d39d4cf01cff36ad6f70a700730823a96448c22
Signed-off-by: Damjan Marion <damarion@cisco.com>
src/vlib/buffer.c