summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/swscanf.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2003-03-06 17:25:06 +0000
committerjhb <jhb@FreeBSD.org>2003-03-06 17:25:06 +0000
commit7e6cfbee4e15ed250dbcb2281576255e700dc580 (patch)
tree00a87cec1b69a91d2f131b59f867651b64a824f2 /lib/libc/stdio/swscanf.c
parenta1ec1684de67c428fe3603f62fb1e65324126769 (diff)
downloadFreeBSD-src-7e6cfbee4e15ed250dbcb2281576255e700dc580.zip
FreeBSD-src-7e6cfbee4e15ed250dbcb2281576255e700dc580.tar.gz
Oops, fix the double faults people were seeing with the recent changes to
witness. Sleepable locks such as sx locks always come before all mutexes including Giant. However, the static lock order list placed Giant before the proctree and allproc sx locks. This resulted in witness creating a cycle in its lock order "tree" (real trees don't have cycles) leading to infinite recursion and eventually a double fault. To fix, put Giant after sx locks in the lock order list.
Diffstat (limited to 'lib/libc/stdio/swscanf.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud