Re: matching pages with their owner processes

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

 



On Wed, 25 Jun 2003, Ravi wrote:

> 
> --- Anthony Nicholson <nicholson_anthony@yahoo.com> wrote:
> > anyone know how to determine, from a struct page *, which
> > process is the owner of the data in that frame? it doesn't
> > seem from what i've read that there's any easy way to do
> > it.
>  
> If I am not wrong, Rik van Riel wrote the rmap feature
> to do what you are trying to do. You might want to look
> at mm/rmap.c in the 2.5.x source tree to see how you can
> use this feature.
> 
> -Ravi.


  I dont think Rik's rmap does what is needed. I mean given a page , tell 
us which process owns the page. 

  what rmap does is that is creates a chain of pte_t for shared pages. 
This helps us to know all the page table entries of a shared page. Please 
correct me if i am wrong. this is what i understand from seeing the code.

 Raghu



> 
> __________________________________
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> http://sbc.yahoo.com
> --
> Kernelnewbies: Help each other learn about the Linux kernel.
> Archive:       http://mail.nl.linux.org/kernelnewbies/
> FAQ:           http://kernelnewbies.org/faq/
> 

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[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