lkml.org 
[lkml]   [2005]   [Feb]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] A new entry for /proc
    Mauricio Lin <mauriciolin@gmail.com> 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 majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

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