diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-10-11 12:20:54 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-11 16:09:14 -0700 |
commit | e37ef961e50d74f55e9edb48e54dd2e7963aad39 (patch) | |
tree | ac069f1c0fa4eaf54b28d712d05f7e483d165b19 /security/apparmor/lsm.c | |
parent | fc66f95c68b6d4535a0ea2ea15d5cf626e310956 (diff) |
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>
Diffstat (limited to 'security/apparmor/lsm.c')
0 files changed, 0 insertions, 0 deletions