git: route: Remove per-cpu routing threads; use netisr instead

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Tue Jul 9 02:23:48 PDT 2013


commit 9763404fb77bcd87b12566d1190d1c8e755d594a
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Tue Jul 9 17:20:36 2013 +0800

    route: Remove per-cpu routing threads; use netisr instead
    
    There are several problems w/ per-cpu route thread:
    - Busy netisr could potentially delay routing changes
    - Blocking R_Malloc() could leave rtentry in inconsistent state
      between netisr and routing threads.

Summary of changes:
 sys/net/if.c           |  7 +++---
 sys/net/netisr2.h      |  5 ++++
 sys/net/route.c        | 65 ++++++++++++++++----------------------------------
 sys/net/route.h        |  8 -------
 sys/netinet/if_ether.c | 40 ++++++++++++++++++++-----------
 sys/netinet/in_rmx.c   |  8 +++----
 6 files changed, 59 insertions(+), 74 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9763404fb77bcd87b12566d1190d1c8e755d594a


-- 
DragonFly BSD source repository



More information about the Commits mailing list