lkml.org 
[lkml]   [2003]   [Aug]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Strange memory usage reporting
    Hi,

    On Tue, Aug 26, 2003 at 06:03:14PM +0100, Hugh Dickins wrote:
    > Which is the driver involved? Though it's not wrong to give do_no_page
    > a Reserved page, beware of the the page->count accounting: while it's
    > Reserved, get_page or page_cache_get raises the count, but put_page
    > or page_cache_release does not decrement it - very easy to end up
    > with the page never freed.

    Why is this so asymetric? I would understand ignoring these pages
    in the freeing logic, but why exclude them also from refcounting?

    Regards

    Ingo Oeser
    -
    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 13:48    [W:0.021 / U:0.100 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site