Date: Thu, 26 Jun 2008 20:21:20 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netgraph ng_base.c Message-ID: <200806262021.m5QKLbvs055317@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
mav 2008-06-26 20:21:20 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
sys/netgraph ng_base.c
Log:
SVN rev 180035 on 2008-06-26 20:21:20Z by mav
MFC rev. 1.155-1.156
Rewrite node's r/w/q-lock semantics using only atomics instead of mutex
and atomics combination. Mutex is now used only for queue protection.
Also avoid unneded extra swi scheduling calls.
Add memory barriers to the node locking operations.
Add some comments.
Revision Changes Path
1.135.2.10 +102 -259 src/sys/netgraph/ng_base.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806262021.m5QKLbvs055317>
