lkml.org 
[lkml]   [2007]   [Mar]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 1/3] revoke: misc fixes
    Hi Nick,

    On Fri, 16 Mar 2007, Nick Piggin wrote:
    > Could you try something like walk the i_mmap lists to find mms with vmas that
    > haven't need revoking, then each time you find one, take a ref on the mm, drop
    > i_mmap_lock, take mmap_sem, and walk all its vmas looking for any that
    > reference the inode?

    Yes, that would work. What I am cooking up now is dropping
    ->i_mmap_lock, restarting the scan after each revoke_vma() and skipping
    vmas that are VM_REVOKED.

    Pekka
    -
    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: 2007-03-16 08:47    [W:5.599 / U:0.016 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site