User: Password:
|
|
Subscribe / Log in / New account

Avoiding the OOM killer with mem_notify

Avoiding the OOM killer with mem_notify

Posted Feb 1, 2008 13:27 UTC (Fri) by nix (subscriber, #2304)
In reply to: Avoiding the OOM killer with mem_notify by ikm
Parent article: Avoiding the OOM killer with mem_notify

I don't think I've ever written a substantial program that didn't have 
*some* sort of caching in it, to trade off space against time somewhere 
where `spend the time, every time' was undesirable. Often these caches are 
not expected to be terribly large, and have the exciting expiration policy 
`never', but it would be fairly trivial to respond to a mem_notify signal 
by just ditching the entire contents of all of those caches.


(Log in to post comments)


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