lkml.org 
[lkml]   [2003]   [Apr]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: objrmap and vmtruncate
    >> I'm not convinced that we can't do something with nonlinear mappings for
    >> this ... we just need to keep a list of linear areas within the nonlinear
    >> vmas, and use that to do the objrmap stuff with. Dave and I talked about
    >> this yesterday ... we both had different terminology, but I think the
    >> same underlying fundamental concept ... I was calling them "sub-vmas"
    >> for each linear region within the nonlinear space.
    >
    > that's wasted memory IMHO, if you need nonlinear, you don't want to
    > waste further metadata, you only want to pin pages in the pagetables,
    > the 'window' over the pagecache (incidentally shm)

    Hold on a minute ... don't the rmap chains (which this would be replacing)
    waste rather more space than this anyway? I'd rather have it per linear
    area than per-page ... think of it as "shared rmap pte chains with offsets"
    if you like ;-)

    M.

    -
    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: 2005-03-22 13:34    [W:4.053 / U:0.048 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site