How to get the physical address of memory allocated by kmalloc
Aug. 22, 2011
4:32 a.m.
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.
Aug. 22, 2011
5:56 a.m.
On Mon, Aug 22, 2011 at 11:32, subin gangadharan <subingangadharan@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
5471
Age (days ago)
5471
Last active (days ago)
1 comments
2 participants
participants (2)
-
Mulyadi Santosa -
subin gangadharan