lkml.org 
[lkml]   [2012]   [Jun]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH 0/5] Some vmevent fixes...
    From
    On Mon, Jun 4, 2012 at 11:05 PM, KOSAKI Motohiro
    <kosaki.motohiro@gmail.com> wrote:
    >> - On desktops, apps can drop their caches on demand if they want to
    >>   and can avoid swap activity?
    >
    > In this case, fallocate(VOLATILE) is work more better.

    For some cases, yes, but probably not for all.

    For example, if userspace doesn't know about "about to swap real soon"
    condition, it can continue to grow its caches making
    fallocate(VOLATILE) pretty much useless.
    --
    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: 2012-06-05 10:21    [W:0.025 / U:1.528 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site