Re: [PATCH] VM fix for 2.4.0-test9 & OOM handler

From: Miles Lane (miles@speakeasy.org)
Date: Tue Oct 10 2000 - 13:41:39 EST


Olaf Titz wrote:
>
> > > Still, it would be nice to recover that 4 MB when the system
> > > doesn't have any memory left.
> > Yup. The X server could give back the memory for some cases like the
> > background without too much hackery.
>
> Then Linux only needs to implement SIGDANGER, which has been talked
> about for years...
>
> X would be a good candidate to implement a handler for it. Others are
> Emacs, Mozilla or JVMs - basically everything which has a GC of some
> sort. It could even be used to implement a configurable user mode OOM
> killer.

It would be good to talk to the KDE and Gnome folks about this as well.
I am pretty sure they have large blocks of memory that could be flushed
or freed in a low-memory or OOM condition.

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



This archive was generated by hypermail 2b29 : Sun Oct 15 2000 - 21:00:15 EST