DragonFly commits List (threaded) for 2013-07
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: route: Remove per-cpu routing threads; use netisr instead
commit 9763404fb77bcd87b12566d1190d1c8e755d594a
Author: Sepherosa Ziehau <sephe@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
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]