summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorad <ad@NetBSD.org>2020-05-05 22:12:06 +0000
committerad <ad@NetBSD.org>2020-05-05 22:12:06 +0000
commit3fa68824cd7600a101fc6ee6feda31c020bb23b7 (patch)
treed1b50f7a50a1ecbf882b887dc80ae394336061b6 /usr.bin
parent1a0bac62928b1b7628c99880c0bfeed109db7c2a (diff)
lwp_unpark(): no need to acquire LWP refs or drop the proc lock.
On the hacky benchmarks I have, held over from the transition to 1:1 threading, this restores pthread_cond_signal() perf to radixtree/sleepq levels, and semes much better than either with pthread_cond_broadcast() and 10 threads. It would be interesting to see what might be achieved with a lockless lookup, which is within grasp now thanks to pid_table being used for lookup.
Diffstat (limited to 'usr.bin')
0 files changed, 0 insertions, 0 deletions