lkml.org 
[lkml]   [2014]   [Feb]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [RFC, PATCH] mm: map few pages around fault address if they are in page cache
    > I haven't tested it much, but my kvm boots. There're few places where code
    > should be fixed. __do_fault() and filemap_fault() are too ugly and need to
    > be cleaned.
    >
    > I don't have any performance data yet.
    >
    > Any thoughts?

    It seems very drastic to do it unconditionally. How about at least a simple
    stream detection heuristic and perhaps also madvise?

    There are some extreme cases where workloads could use a lot more memory
    than before, if they access their memory sparsely in the right pattern.

    -Andi


    \
     
     \ /
      Last update: 2014-02-07 19:21    [W:4.610 / U:0.016 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site