public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* OOM notifications
@ 2007-10-18 20:25 Marcelo Tosatti
  2007-10-18 20:38 ` Rene Herman
  0 siblings, 1 reply; 24+ messages in thread
From: Marcelo Tosatti @ 2007-10-18 20:25 UTC (permalink / raw)
  To: linux-kernel; +Cc: riel, drepper


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.


^ permalink raw reply	[flat|nested] 24+ messages in thread
* OOM notifications
@ 2007-10-18 20:15 Marcelo Tosatti
  2007-10-26 21:02 ` Andrew Morton
  2007-10-30 14:57 ` Jan Kara
  0 siblings, 2 replies; 24+ messages in thread
From: Marcelo Tosatti @ 2007-10-18 20:15 UTC (permalink / raw)
  To: linux-kernel; +Cc: drepper, riel

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.


^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2007-10-30 17:31 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-18 20:25 OOM notifications Marcelo Tosatti
2007-10-18 20:38 ` Rene Herman
2007-10-18 20:52   ` Rik van Riel
2007-10-18 21:06     ` Rene Herman
2007-10-18 21:18       ` Rik van Riel
2007-10-18 22:01         ` Rene Herman
2007-10-18 22:10           ` Ulrich Drepper
2007-10-19  5:15             ` Chris Friesen
2007-10-19 10:17             ` Pavel Machek
2007-10-19 15:18               ` Samuel Tardieu
2007-10-19 16:58                 ` Chris Friesen
2007-10-18 22:16           ` Rene Herman
  -- strict thread matches above, loose matches on Subject: below --
2007-10-18 20:15 Marcelo Tosatti
2007-10-26 21:02 ` Andrew Morton
2007-10-26 21:05   ` Martin Bligh
2007-10-26 21:11     ` Andrew Morton
2007-10-26 21:35       ` Rik van Riel
2007-10-26 21:59         ` Martin Bligh
2007-10-26 22:30           ` Rik van Riel
2007-10-28 21:16   ` Balbir Singh
2007-10-30 14:57 ` Jan Kara
2007-10-30 15:23   ` Rik van Riel
2007-10-30 15:55     ` Jan Kara
2007-10-30 17:31       ` Rik van Riel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox