kernel VM area issue

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

 




Hi all -

My name is Fabrice. I'm currently working on Linux 2.4.2 kernel which is
part of Red-Hat 7.1 package. I'm hacking on the VM system of Linux.
My question is:
Given a kernel pointer ( pointer to a given kernel data structure),  how
can we find the appropriate VM area instance? 

for a userland pointer , we can do:
 
	u_vma=find_vma(current->mm, u_ptr)


Thanks
Fabrice




-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/


[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