summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2003-07-02 16:14:09 +0000
committerjhb <jhb@FreeBSD.org>2003-07-02 16:14:09 +0000
commit58598b39f8391903edf076ddb2ab3edbaf9b31bc (patch)
treebc1fddb51548caeb15727f95b183dcd1df563597 /sbin
parent17958a749f60b50092d0ae5d6171bdc924cbed02 (diff)
downloadFreeBSD-src-58598b39f8391903edf076ddb2ab3edbaf9b31bc.zip
FreeBSD-src-58598b39f8391903edf076ddb2ab3edbaf9b31bc.tar.gz
- Add comments about the maintenance of the per-thread list of contested
locks held by each thread. - Fix a bug in the original BSD/OS code where a contested lock was not properly handed off from the old thread to the new thread when a contested lock with more than one blocked thread was transferred from one thread to another. - Don't use an atomic operation to write the MTX_CONTESTED value to mtx_lock in the aforementioned special case. The memory barriers and exclusion provided by sched_lock are sufficient. Spotted by: alc (2)
Diffstat (limited to 'sbin')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud