aboutsummaryrefslogtreecommitdiff
path: root/cddl/contrib/opensolaris/tools/ctf
diff options
context:
space:
mode:
authorJohn-Mark Gurney <jmg@FreeBSD.org>2014-11-16 01:18:41 +0000
committerJohn-Mark Gurney <jmg@FreeBSD.org>2014-11-16 01:18:41 +0000
commit2c30bc1fcfd4b11dc9dc663ec5a5f5c466d00615 (patch)
treec9eb370b66ee486fed9d9d7877b3e0129e7a8ecf /cddl/contrib/opensolaris/tools/ctf
parentd61d836c6b5004fc55a25b8556d34585dde18483 (diff)
downloadsrc-2c30bc1fcfd4b11dc9dc663ec5a5f5c466d00615.tar.gz
src-2c30bc1fcfd4b11dc9dc663ec5a5f5c466d00615.zip
prevent doing filter ops locking for staticly compiled filter ops...
This significantly reduces lock contention when adding/removing knotes on busy multi-kq system... Next step is to cache these references per kq.. i.e. kq refs it once and keeps a local ref count so that the same refs don't get accessed by many cpus... only allocate a knote when we might use it... Add a new flag, _FORCEONESHOT.. This allows a thread to force the delivery of another event in a safe manner, say waking up an idle http connection to force it to be reaped... If we are _DISABLE'ing a knote, don't bother to call f_event on it, it's disabled, so won't be delivered anyways.. Tested by: adrian
Notes
Notes: svn path=/head/; revision=274560
Diffstat (limited to 'cddl/contrib/opensolaris/tools/ctf')
0 files changed, 0 insertions, 0 deletions