shrinking memory consumptions

Adam Jackson ajackson at redhat.com
Mon Apr 2 15:27:21 EDT 2007


On Mon, 2007-04-02 at 15:10 -0300, Marcelo Tosatti wrote:

> I've been working on a SIGDANGER equivalent for Linux - so that we
> can signal applications once a certain lower limit of memory has been
> reached. I'm currently busy with the resume work, but plan to get back
> to SIGDANGER once we're finished with PM.

If you do get back to this, please make it a file, not a signal.  Signal
handling is enough of a nightmare intrinsically, and most apps also get
it wrong for extrinsic reasons, so adding disaster-avoidance code to
signal handlers is pretty poor planning.

Unified event loops are love.

- ajax




More information about the Devel mailing list