Re: Getting physical address of memory allocated by vmalloc()

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

 



Hi Jacky,

On Oct 20, 2011 6:32 PM, "Jacky Lam" <lamshuyin@xxxxxxxxx> wrote:
>
> Hi,
>
>     Is there any generic way to get  the physical address of memory
> (first page) allocated by vmalloc()?

PFN_PHYS( vmalloc_to_pfn( address ))

-- 
Dave Hylands
Shuswap, BC, Canada
http://www.davehylands.com 

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[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