How to get the physical address of memory allocated by kmalloc

subin gangadharan subingangadharan at gmail.com
Mon Aug 22 00:32:21 EDT 2011


Hi All,

Is there any API exists in kernel to get the physical address of the memory
allocated by kmalloc.Can I use virt_to_phys for this ?

With Regards
Subin Gangadharan

Everything should be made as simple as possible,but not simpler.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110821/6684fed1/attachment.html 


More information about the Kernelnewbies mailing list