allocate pageable memory in kernel driver

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

 



Hi,
 
I am writing a device driver in which I need to allocate large amount of memory (say the size of the physical memory). I don't care if the allocated memories are paged out (in fact I would like them to be paged out, as I won't use them often), as long as they will be paged in at the time I need to access them.
 
I understand vmalloc() would allocate up to the size of the physical memory, but all the pages won't be swapped out, so I cannot use vmalloc() for my driver, right?
 
Thanks,
 
Jason

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux