|
Lines 3488-3496
Link Here
|
| 3488 |
</question> |
3488 |
</question> |
| 3489 |
|
3489 |
|
| 3490 |
<answer> |
3490 |
<answer> |
| 3491 |
<para>An answer for this question can be found in the &os; |
3491 |
<para>The &os; kernel uses a number of resource locks to |
| 3492 |
Glossary, see <ulink |
3492 |
arbitrate contention for those resources. A run-time |
| 3493 |
url="&url.books.handbook;/freebsd-glossary.html#lor-glossary">LOR</ulink>.</para> |
3493 |
lock diagnostic system found in &os.current; kernels |
|
|
3494 |
(but removed for releases), called &man.witness.4;, |
| 3495 |
detects the potential for deadlocks due to locking errors. |
| 3496 |
(&man.witness.4; is actually slightly conservative, so |
| 3497 |
it is possible to get false positives.) A true positive |
| 3498 |
report indicates that <quote>if you were unlucky, a deadlock would |
| 3499 |
have happened here</quote>.</para> |
| 3500 |
|
| 3501 |
<para>True positive LORs tend to get fixed quickly, so |
| 3502 |
check &a.current.url; and the |
| 3503 |
<ulink url="http://sources.zabbadoz.net/freebsd/lor.html">LORs Seen |
| 3504 |
</ulink> page before posting to the mailing lists.</para> |
| 3494 |
</answer> |
3505 |
</answer> |
| 3495 |
</qandaentry> |
3506 |
</qandaentry> |