summaryrefslogtreecommitdiff
path: root/regress/lib
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2020-11-07 03:49:07 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2020-11-07 03:49:07 +0000
commit853d372b68c653cf3cd71e93d4b5b98d5f5a8d53 (patch)
tree0c2f42ff5e860d093a57e2dc544d8dcae9c172fa /regress/lib
parent372fbe81c09ab874a550e595f19e4ae615d05955 (diff)
change from rwlock(9) to mutex(9) for linux rwlocks
Linux rwlocks are read/write spin locks which don't sleep. Fixes a panic claudio@ reported with a WITNESS kernel on inteldrm(4) 'panic: acquiring blockable sleep lock with spinlock or critical section held (rwlock) drmvma' Patch from kettenis@ with a small tweak from me. ok kettenis@
Diffstat (limited to 'regress/lib')
0 files changed, 0 insertions, 0 deletions