diff options
| author | Eric Dumazet <[email protected]> | 2010-11-11 07:14:07 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2010-11-11 10:29:40 -0800 |
| commit | 72cdd1d971c0deb1619c5c339270570c43647a78 (patch) | |
| tree | 15e3c63cf135818ae1b5cbc9d85ef2c48c03804c /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | 46b13fc5c0f239f36e84665c73087d5fa86bfd86 (diff) | |
net: get rid of rtable->idev
It seems idev field in struct rtable has no special purpose, but adding
extra atomic ops.
We hold refcounts on the device itself (using percpu data, so pretty
cheap in current kernel).
infiniband case is solved using dst.dev instead of idev->dev
Removal of this field means routing without route cache is now using
shared data, percpu data, and only potential contention is a pair of
atomic ops on struct neighbour per forwarded packet.
About 5% speedup on routing test.
Signed-off-by: Eric Dumazet <[email protected]>
Cc: Herbert Xu <[email protected]>
Cc: Roland Dreier <[email protected]>
Cc: Sean Hefty <[email protected]>
Cc: Hal Rosenstock <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions