kernel-ark/include
Eric Dumazet e37ef961e5 neigh: reorder struct neighbour fields
Le mardi 12 octobre 2010 à 00:02 +0200, Eric Dumazet a écrit :
> Here is the followup patch.
>
> Thanks !
>

Oops, this was an old version, the up2date ones also took care of "used"
field.

I guess its time for a sleep, sorry again.

[PATCH net-next V2] neigh: reorder struct neighbour fields

(refcnt) and (ha_lock, ha, used, dev, output, ops, primary_key) should
be placed on a separate cache lines.

refcnt can be often written, while other fields are mostly read.

This gave me good result on stress test :

before:

real    0m45.570s
user    0m15.525s
sys     9m56.669s

After:

real    0m41.841s
user    0m15.261s
sys     8m45.949s

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-10-11 16:09:14 -07:00
..
acpi ACPI: Fix typos 2010-09-28 21:38:19 -04:00
asm-generic
crypto
drm drm: Hold the mutex when dropping the last GEM reference (v2) 2010-10-01 21:08:45 +10:00
keys
linux neigh: speedup neigh_hh_init() 2010-10-11 09:16:57 -07:00
math-emu
media
mtd
net neigh: reorder struct neighbour fields 2010-10-11 16:09:14 -07:00
pcmcia
rdma
rxrpc
scsi
sound
trace
video
xen
Kbuild