On Tue, 2007-12-18 at 18:36 +0200, Muli Ben-Yehuda wrote:
> On Tue, Dec 18, 2007 at 05:54:56PM +0200, Oded Arbel wrote:
> 
> > The real question - as emphasized by all the comments I received -
> > is: can I know how much memory the process is accessing (within some
> > time period) specifically when its more then the total of pages
> > actually held in physical memory.  *accessing = reading to or
> > writing from, not just having them assigned to the process.
> 
> Look at the pagemap patches, which will give you the raw info you need
> to calculate this. See http://lwn.net/Articles/230975/ for an
> introduction.

Thanks ! this is really interesting. Using the clear_refs item one can
easily implement the supposed "working set" functionality. I'll see if I
can compile it for my kernel.

-- 

Oded


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to