diff options
| author | ozaki-r <ozaki-r@NetBSD.org> | 2015-09-30 07:12:32 +0000 |
|---|---|---|
| committer | ozaki-r <ozaki-r@NetBSD.org> | 2015-09-30 07:12:32 +0000 |
| commit | a3a0087c122b0cf6c0afab897e77ecc5b445dba2 (patch) | |
| tree | e65f26de6c8ce4c75c89fb302ca1ccbe419cbc57 /external/cddl/dtracetoolkit/dist/Code/JavaScript | |
| parent | f736746641b2ebdd55bdb20b10add52e5b9dc4f0 (diff) | |
Make GATEWAY (fastforward) work again
With GATEWAY (fastforward), the whole forwarding processing runs in
hardware interrupt context. So we cannot use rwlock for lltable and
llentry in that case.
This change replaces rwlock with mutex(IPL_NET) for lltable and llentry
when GATEWAY is enabled. We need to tweak locking only around rtree
in lltable_free. Other than that, what we need to do is to change macros
for locks.
I hope fastforward runs in softint some day in the future...
Diffstat (limited to 'external/cddl/dtracetoolkit/dist/Code/JavaScript')
0 files changed, 0 insertions, 0 deletions
