lkml.org 
[lkml]   [2016]   [Oct]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [RFC 0/6] Module for tracking/accounting shared memory buffers
    From
    Date
    On 10/11/2016 04:50 PM, Ruchi Kandoi wrote:
    > Any process holding a reference to these buffers will keep the kernel from
    > reclaiming its backing pages. mm counters don't provide a complete picture of
    > these allocations, since they only account for pages that are mapped into a
    > process's address space. This problem is especially bad for systems like
    > Android that use dma-buf fds to share graphics and multimedia buffers between
    > processes: these allocations are often large, have complex sharing patterns,
    > and are rarely mapped into every process that holds a reference to them.

    What do you end up _doing_ with all this new information that you have
    here? You know which processes have "pinned" these shared buffers, and
    exported that information in /proc. But, then what?

    \
     
     \ /
      Last update: 2016-10-12 19:29    [W:2.821 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site