Re: [PATCH] Remove OOM killer from try_to_free_pages / all_unreclaimablebraindamage

From: Chris Friesen
Date: Thu Nov 18 2004 - 10:17:04 EST


Thomas Gleixner wrote:

Hmm, what about embedded boxes without swap ? There you have only one
choice. Kill anything appropriate.

I worked on a project that took the opposite approach from the "I'm a suspect" flag mentioned earlier. Processes could request immunity from the OOM killer as long as they were under a specified memory usage. Critical apps were thus protected as long as they were sane, while noncritical stuff could be killed at will.

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