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/