[lkml]   [2005]   [Feb]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] A new entry for /proc
Mauricio Lin <> 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.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 14:10    [W:0.341 / U:0.076 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site