Re: Avoiding *mandatory* overcommit...

From: david parsons (orc@pell.portland.or.us)
Date: Fri Mar 31 2000 - 18:52:21 EST


In article <linux.kernel.000101bf9ac5$e859d760$0100000a@youwant.to>,
David Schwartz <davids@webmaster.com> wrote:
>
>> One would assume the kernel always maintains at least 1
>> page for its own
>> paging purposes. So I touch my swapped out page. The kernel
>> reads my page into
>> the 'last page', and immediately pages out some other page,
>> regaining its "last
>> page". Repeat as necessary. It's a memory thrashing situation,
>> but not fatal.
>
> Fine, until some process touches a COW page and then the one spare page is
>gone.

    No, it will never be gone; If a process needs another page and there's
    nothing left but the last page, that page request will fail.

                  ____
    david parsons \bi/ As, presumably, will the process.
                   \/

-
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/



This archive was generated by hypermail 2b29 : Fri Mar 31 2000 - 21:00:30 EST