summaryrefslogtreecommitdiffstats
path: root/sys/netnatm
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2008-03-19 07:35:14 +0000
committerjeff <jeff@FreeBSD.org>2008-03-19 07:35:14 +0000
commitd43ad8d37e3c67a58f6d5917a4f252f0a177f652 (patch)
tree5e128b7a18ed5eef618ac65241762a3e2ba72bbe /sys/netnatm
parentd4862a02d2a48532593512bf78aafae99ce4789e (diff)
downloadFreeBSD-src-d43ad8d37e3c67a58f6d5917a4f252f0a177f652.zip
FreeBSD-src-d43ad8d37e3c67a58f6d5917a4f252f0a177f652.tar.gz
- At the top of sleepq_catch_signals() lock the thread and check TDF_NEEDSIGCHK
before doing the very expensive cursig() and related locking. NEEDSIGCHK is updated whenever our signal mask change or when a signal is delivered and should be sufficient to avoid the more expensive tests. This eliminates another source of PROC_LOCK contention in multithreaded programs.
Diffstat (limited to 'sys/netnatm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud