How to get the physical address of memory allocated by kmalloc
Mulyadi Santosa
mulyadi.santosa at gmail.com
Mon Aug 22 01:56:05 EDT 2011
On Mon, Aug 22, 2011 at 11:32, subin gangadharan
<subingangadharan at gmail.com> wrote:
> 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 ?
I think yes, virt_to_phys should help......
--
regards,
Mulyadi Santosa
Freelance Linux trainer and consultant
blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com
More information about the Kernelnewbies
mailing list