[lkml]   [2001]   [Sep]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC] OOM aware applications
On Sep 25, 2001  10:49 +0530, BALBIR SINGH wrote:
> Warning: I am not aware of what was discussed earlier about these issues
> or if they were discusses at all.

They have been discussed many times. Please search for SIGDANGER in the
linux-kernel mailing list archive.

> 1. I was wondering that instead of killing the application using
> oom_kill_task() directly, should the OOM issue some kind of a
> warning by sending a signal (some signal with si_code set to a
> value indicating that the application is causing memory to run
> out). Then, wait for a while and then see if the application is
> still misbehaving and if so kill it.

This is exactly what SIGDANGER is.

Cheers, Andreas
Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto,
\ would they cancel out, leaving him still hungry?" -- Dogbert

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:03    [W:0.039 / U:20.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site