summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
authormux <mux@FreeBSD.org>2003-03-17 17:26:39 +0000
committermux <mux@FreeBSD.org>2003-03-17 17:26:39 +0000
commit000ffcaa0558093ea28d9abc496e128814676d63 (patch)
tree0750f796800394530e1e8f637beb375e48290cc6 /libexec
parentcc6a784ca96ec28686595a8e482eeeca31139bb2 (diff)
downloadFreeBSD-src-000ffcaa0558093ea28d9abc496e128814676d63.zip
FreeBSD-src-000ffcaa0558093ea28d9abc496e128814676d63.tar.gz
Tidy up the locking of the bounce pages structures.
- Use SYSINIT to initialize the structures instead of checking total_bpages against 0 in alloc_bounce_pages(), which could lead to several initializations being done at the same time. - Add missing locking in bus_dmamap_load(), the bounce pages mutex must be held when calling reserve_bounce_pages() and when touching the bounce_map_waitinglist list. - Remove the useless splhigh() and splx() calls. - Assert that the bounce pages mutex is held in reserve_bounce_pages() to catch regressions.
Diffstat (limited to 'libexec')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud