Re: kernel VM area issue

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

 



On Tue, Oct 02, 2001 at 09:16:19AM -0400, Fabrice Tchakountio wrote:
> 
> 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)

Kernel pointers usually aren't represented by a vma .

	Christoph

-- 
Of course it doesn't work. We've performed a software upgrade.
-
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