lkml.org 
[lkml]   [2001]   [Sep]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
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?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- Dogbert

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

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