Messages in this thread | | | Subject | Re: kernel virtual page locking.. | Date | Fri, 30 Apr 1999 17:47:07 +0100 | From | Philip Blundell <> |
| |
>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.?
No. Kernel memory that works with virt_to_bus (ie that which was allocated with kmalloc) is not swappable. Note that you almost certainly don't want to use virt_to_phys() in this situation.
p.
- 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/
| |