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

> 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 :)

That's amusing, but surely the kernel knows when it's swapping.

One problem with making such a thing portable is there is no metric that
exists in every kernel that gives this information. And, of course, swap
being in use does not mean that the system is swapping in the sense that
performance is suffering.

DS


-
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.156 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site