OOM notifications

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-kernel@...>
Cc: <drepper@...>, <riel@...>
Date: Thursday, October 18, 2007 - 4:15 pm

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.

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
OOM notifications, Marcelo Tosatti, (Thu Oct 18, 4:15 pm)
Re: OOM notifications, Jan Kara, (Tue Oct 30, 10:57 am)
Re: OOM notifications, Rik van Riel, (Tue Oct 30, 11:23 am)
Re: OOM notifications, Jan Kara, (Tue Oct 30, 11:55 am)
Re: OOM notifications, Rik van Riel, (Tue Oct 30, 1:31 pm)
Re: OOM notifications, Andrew Morton, (Fri Oct 26, 5:02 pm)
Re: OOM notifications, Balbir Singh, (Sun Oct 28, 5:16 pm)
Re: OOM notifications, Martin Bligh, (Fri Oct 26, 5:05 pm)
Re: OOM notifications, Andrew Morton, (Fri Oct 26, 5:11 pm)
Re: OOM notifications, Rik van Riel, (Fri Oct 26, 5:35 pm)
Re: OOM notifications, Martin Bligh, (Fri Oct 26, 5:59 pm)
Re: OOM notifications, Rik van Riel, (Fri Oct 26, 6:30 pm)