summaryrefslogtreecommitdiffstats
path: root/sys/pci
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2003-03-13 07:31:45 +0000
committerjeff <jeff@FreeBSD.org>2003-03-13 07:31:45 +0000
commit459181e3edfeaec7cb190679e1e6490b441ee45b (patch)
tree98a7f2a073c45904ccdb9d77d843be13cc0222f9 /sys/pci
parentec5374265bec154d9330f861f2a089de4212a69d (diff)
downloadFreeBSD-src-459181e3edfeaec7cb190679e1e6490b441ee45b.zip
FreeBSD-src-459181e3edfeaec7cb190679e1e6490b441ee45b.tar.gz
- Add a lock for protecting against msleep(bp, ...) wakeup(bp) races.
- Create a new function bdone() which sets B_DONE and calls wakup(bp). This is suitable for use as b_iodone for buf consumers who are not going through the buf cache. - Create a new function bwait() which waits for the buf to be done at a set priority and with a specific wmesg. - Replace several cases where the above functionality was implemented without locking with the new functions.
Diffstat (limited to 'sys/pci')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud