lkml.org 
[lkml]   [1999]   [Apr]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: kernel virtual page locking..
Date
From
>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/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.039 / U:0.616 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site