git: route: Routes should only be accessed from the first netisr_ncpus netisrs.

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Sun Aug 13 18:51:41 PDT 2017


commit 43dbcc2acefe9a7fa99f8ebc5aff31c7d3717456
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Tue Aug 8 17:18:29 2017 +0800

    route: Routes should only be accessed from the first netisr_ncpus netisrs.
    
    Replicate routes to the first netisr_ncpus CPUs, instead of all CPUs.

Summary of changes:
 sys/kern/uipc_msg.c      |   2 +-
 sys/net/if.c             |  46 ++++++++++----
 sys/net/netisr2.h        |  23 ++++++-
 sys/net/radix.c          |  25 ++++++--
 sys/net/route.c          | 158 +++++++++++++++++------------------------------
 sys/net/route.h          |  24 +++----
 sys/net/rtsock.c         |   2 +-
 sys/netinet/if_ether.c   |  34 +++++++---
 sys/netinet/in_rmx.c     |  26 ++++----
 sys/netinet/ip_demux.c   |   8 +--
 sys/netinet/ip_icmp.c    |  24 ++++---
 sys/netinet/ip_input.c   |   4 +-
 sys/netinet/tcp_subr.c   |  14 +++--
 sys/netinet/udp_usrreq.c |  12 ++--
 sys/netinet6/in6_rmx.c   |   4 ++
 sys/sys/param.h          |   3 +-
 usr.bin/netstat/main.c   |  12 ++--
 17 files changed, 236 insertions(+), 185 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/43dbcc2acefe9a7fa99f8ebc5aff31c7d3717456


-- 
DragonFly BSD source repository



More information about the Commits mailing list