[lkml]   [2012]   [Feb]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH v5 3/3] fadvise: implement POSIX_FADV_NOREUSE
    On 2/16/12 10:57 AM, Andrea Righi wrote:

    > Maybe we should try to push ...something... in the memcg code for the
    > short-term future, make it as much generic as possible, and for the
    > long-term try to reuse the same feature (totally or in part) in the
    > per-fd approach via fadvise().

    Yes - the two approaches are complementary and we should probably pursue

    There are a number of apps which are already using fadvise though:

    and probably many other similar cases that are not open source.

    Some of these apps may be better off using NOREUSE instead of DONTNEED,
    since they may not have a clue on what else is going on in the system.

    The way I think about it: NOREUSE is a statement about what my process
    is doing and DONTNEED is a statement about the entire system.


     \ /
      Last update: 2012-02-16 20:11    [W:0.048 / U:0.328 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site