lkml.org 
[lkml]   [2000]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRE: Overcommitable memory??
On Fri, 24 Mar 2000, Rik van Riel wrote:

> On Thu, 23 Mar 2000, David Schwartz wrote:
>
> > If there was a portable way to detect imminent resource
> > exhaustion before malloc starts to fail, I'd happily use it.
>
> If there was a way to look into the future, I'm sure we'd
> all happily use it :)
>

Some system call "get_free_pages", maybe... If it's getting low,
don't do <something> you were about to do??

This requires cooperative tasks, but many programs could be "taught" to
cooperate, just put such a call into malloc().

Cheers,
Dick Johnson

Penguin : Linux version 2.3.41 on an i686 machine (800.63 BogoMips).


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

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.203 / U:67.344 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site