[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-kernel
Subject:    Re: Avoiding *mandatory* overcommit...
From:       orc () pell ! portland ! or ! us (david parsons)
Date:       2000-03-31 23:52:21
[Download RAW message or body]

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/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic