lkml.org 
[lkml]   [2001]   [Nov]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: Google's mm problem - not reproduced on 2.4.13
    Date
    On November 2, 2001 07:00 pm, Andrea Arcangeli wrote:
    > On Fri, Nov 02, 2001 at 12:51:09PM -0500, Sven Heinicke wrote:
    > > a bunch of times. Then doesn't free the mmaped memory until file
    > > system is unmounted. It never starts going into swap.
    >
    > thanks for testing. This matches the idea that those pages doesn't want
    > to be unmapped for whatever reason (and because there's an mlock in our
    > way at the moment I'd tend to point my finger in that direction rather
    > than into the vm direction). I'll look more closely into this testcase
    > shortly.

    The mlock handling looks dead simple:

    vmscan.c
    227 if (vma->vm_flags & (VM_LOCKED|VM_RESERVED))
    228 return count;

    It's hard to see how that could be wrong. Plus, this test program does run
    under 2.4.9, it just uses way too much CPU on that kernel. So I'd say mm
    bug.

    --
    Daniel
    -
    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:12    [W:3.753 / U:0.068 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site