diff options
author | Eric Dumazet <edumazet@google.com> | 2015-05-01 10:37:49 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-05-01 19:44:00 -0400 |
commit | 355b590ca24a53f5e2f6999218b5321eaf730a7e (patch) | |
tree | e6a48af10ed15aca0c6d6a34533aef5636714c1c /init | |
parent | 9dd3c797496affd699805c8a9d8429ad318c892f (diff) | |
download | linux-355b590ca24a53f5e2f6999218b5321eaf730a7e.tar.bz2 |
ipv4: speedup ip_idents_reserve()
Under stress, ip_idents_reserve() is accessing a contended
cache line twice, with non optimal MESI transactions.
If we place timestamps in separate location, we reduce this
pressure by ~50% and allow atomic_add_return() to issue
a Request for Ownership.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions