[lkml]   [2003]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] nonlinear oddities
    On Thu, 6 Mar 2003, Hugh Dickins wrote:
    > 1. Revert MAP_NONLINEAR and VM_NONLINEAR: I can easily imagine wanting
    > VM_NONLINEAR in future, warning that vma is unusual, but currently it's
    > not useful: install_page just needs to SetPageAnon if the page is put
    > somewhere try_to_unmap_obj_one wouldn't be able to find it.

    Now I think about it more, install_page's SetPageAnon is not good at all.
    That (unlocked) page may already be mapped into other vmas as a shared
    file page, non-zero mapcount, we can't suddenly switch it to Anon
    (pte_chained) without doing the work to handle that case.

    Before Ingo's file-offset-in-pte, it would have been consistent without
    any SetPageAnon there, because the remapped pages would be unreliable
    unless locked, and having them unfindable is equivalent to being locked.

    But if we're to bother with file-offset-in-pte, then we have to bother
    with finding the remapped pages, handling mapped-earlier case properly.


    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:33    [W:0.018 / U:48.820 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site