lkml.org 
[lkml]   [1999]   [Jan]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: MM deadlock [was: Re: arca-vm-8...]
    Hi,

    On Tue, 26 Jan 1999 02:57:41 +0100 (CET), Andrea Arcangeli
    <andrea@e-mind.com> said:

    >> /* We can't free pages unless there's just one user */
    >> if (atomic_read(&page->count) != 1)
    >> continue;
    >> +
    >> + count--;

    > but this is plain bogus. When your machine will reach 0 freeable pages
    > (and that happens a bit before to kill the process because OOM) you'll get
    > an infinite loop in shrink_mmap().

    No. We skip only shared pages. We still count page tables, vmalloced
    pages, task structs, kmalloc/slab pages, dma buffers and all those other
    kernel pages which do not belong to the VM.

    --Stephen

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:50    [W:2.590 / U:0.164 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site