Hi Andrew,

But can i use jiffies to measure this kind of performance??? AFAIK, if
it is more efficient, then it is faster, right? How can I know how
fast it is? Any idea?

BR,

Mauricio Lin.


On Thu, 24 Feb 2005 01:09:47 -0800, Andrew Morton <[EMAIL PROTECTED]> wrote:
> Mauricio Lin <[EMAIL PROTECTED]> wrote:
> >
> > You said that the old smaps version is not efficient because the way
> >  it access each pte.
> 
> Nick is talking about changing the kenrel so that it "refcounts pagetable
> pages".  I'm not sure why.
> 
> I assume that this means that each pte page's refcount will be incremented
> by one for each instantiated pte.  If so, then /proc/pid/smaps can become a
> lot more efficient.  Just add up the page refcounts on all the pte pages -
> no need to walk the ptes themselves.
> 
> Maybe?
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to