kernel virtual page locking..

Prasanna Gokhale (pras@teil.soft.net)
Fri, 30 Apr 1999 21:34:27 +0530 (IST)


If I want to do a DMA operation in a character driver, i believe i have
to use physical memory. ( by getting kvirt_to_phys() ).
Is there a fear of this memory getting swapped out while the DMA
operation is in progress.? If so, then there must be some mechanism of
locking the pages in the driver. What are the utilities available for
locking kernel virtual memory.?

- Prasanna

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/