lkml.org 
[lkml]   [2010]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH -v2] rmap: make anon_vma_prepare link in all the anon_vmas of a mergeable VMA


    On Sun, 11 Apr 2010, Johannes Weiner wrote:
    >
    > Did you have something in mind that I missed?

    Mostly that the corner cases will never matter, and I'd prefer to keep the
    code simpler than to care deeply.

    For example, the only case you'd see vm_ops->close() is for special device
    mappings. It's true that they cannot have their vma's merged, but it's
    also true that they (a) will seldom have anon_vma's anyway and (b) would
    never get mapped very many times so that anon_vma merging would be an
    issue.

    In other words, it's a "don't care" situation, where to keep the code
    simpler we just document that we don't care.

    Linus


    \
     
     \ /
      Last update: 2010-04-11 01:39    [W:2.619 / U:0.024 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site