[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20071018201531.GA5938@dmt>
Date: Thu, 18 Oct 2007 16:15:31 -0400
From: Marcelo Tosatti <marcelo@...ck.org>
To: linux-kernel@...r.kernel.org
Cc: drepper@...hat.com, riel@...hat.com
Subject: OOM notifications
Hi,
AIX contains the SIGDANGER signal to notify applications to free up some
unused cached memory:
http://www.ussg.iu.edu/hypermail/linux/kernel/0007.0/0901.html
There have been a few discussions on implementing such an idea on Linux,
but nothing concrete has been achieved.
On the kernel side Rik suggested two notification points: "about to
swap" (for desktop scenarios) and "about to OOM" (for embedded-like
scenarios).
With that assumption in mind it would be necessary to either have two
special devices for notification, or somehow indicate both events
through the same file descriptor.
Comments are more than welcome.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists