CVSROOT:        /cvs
Module name:    src
Changes by:     a...@cvs.openbsd.org    2010/07/01 15:27:39

Modified files:
        sys/kern       : kern_physio.c 
        sys/uvm        : uvm_extern.h uvm_glue.c 

Log message:
Implement vs{,un}lock_device and use it for physio.

Just like normal vs{,un}lock, but in case the pages we get are not dma
accessible, we bounce them, if they are dma acessible, the functions behave
exactly like normal vslock. The plan for the future is to have fault_wire
allocate dma acessible pages so that we don't need to bounce (especially
in cases where the same buffer is reused for physio over and over again),
but for now, keep it as simple as possible.

Reply via email to