Messages in this thread | | | From | "Stephen C. Tweedie" <> | Date | Thu, 29 Jul 1999 22:17:06 +0100 (BST) | Subject | Re: OOM |
| |
Hi,
On Thu, 29 Jul 1999 13:39:30 +0000, Bernd Paysan <bernd.paysan@gmx.de> said:
> The idea is that you can't get a new page if all the available pages are > more valueable than the new page (that would be a configurable value, > space for swapped in pages probably should have higher priority than > space for newly allocated pages). A process requesting a page in such a > thight memory condition is put to sleep until some other pages age out > and it finally can get the requested page. To be fair, pending requests > should be queued up, and not served randomly.
Really? So I should give higher priority to preserving the existing pages owned by a runaway memory eater, and starve the new login process that root is trying to create to kill that runaway? And we should ignore the needs of networking --- if we're using all the existing pages then we shouldn't try to free some up to allow networking to continue?
That just doesn't work, I'm afraid --- prioritising exisiting pages will just make memory hogs worse.
--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/
| |