Date: Mon, 17 Mar 2003 09:26:40 -0800 (PST) From: Maxime Henrion <mux@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/alpha/alpha busdma_machdep.c Message-ID: <200303171726.h2HHQeLW079121@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
mux 2003/03/17 09:26:40 PST
FreeBSD src repository
Modified files:
sys/alpha/alpha busdma_machdep.c
Log:
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.
Revision Changes Path
1.32 +21 -13 src/sys/alpha/alpha/busdma_machdep.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303171726.h2HHQeLW079121>
