LWN.net Logo

KS2009: How Google uses Linux

KS2009: How Google uses Linux

Posted Oct 24, 2009 1:26 UTC (Sat) by Tomasu (subscriber, #39889)
In reply to: KS2009: How Google uses Linux by dvhart
Parent article: KS2009: How Google uses Linux

2) probably because they actually want some over-commit, but they don't want the OOM thread to go wild killing everything, and definitely not the WRONG thing.


(Log in to post comments)

KS2009: How Google uses Linux

Posted Oct 25, 2009 19:24 UTC (Sun) by oak (subscriber, #2786) [Link]

In the Maemo (at least Diablo release) kernel source there are
configurable limits for when kernel starts to deny allocations and when to
OOM-kill (besides notifying user-space about crossing of these and some
earlier limits). If process is set as "OOM-protected", its allocations
will also always succeed. If "OOM-protected" processes waste all memory
in the system, then they can also get killed.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds