Question regarding pinning of memory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
   We have written an application that would open a device and then mmap it.
   In the kernel module the memory is allocated using vmalloc (don't require contiguous physical memory)  and in mmap we are calling remap_pfn_range to map the memory to user space.
   The question is would this mechanism be enough that the memory would be pinned (neither swappable nor the page migration would happen) ?

Thanks,
Sunil Bhargo

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux