Re: Out of memory management in embedded systems

From: Rik van Riel
Date: Fri Sep 28 2007 - 10:17:35 EST


On Fri, 28 Sep 2007 10:04:23 -0400
"linux-os \(Dick Johnson\)" <linux-os@xxxxxxxxxxxx> wrote:
> On Fri, 28 Sep 2007, [iso-8859-1] Daniel SpÃng wrote:
>
> > On 9/28/07, linux-os (Dick Johnson) <linux-os@xxxxxxxxxxxx> wrote:
> >>
> >> On Fri, 28 Sep 2007, [iso-8859-1] Daniel SpÃng wrote:

> >>> Some kind of notification to the application that the available memory
> >>> is scarce and let the application free up some memory (e.g., by
> >>> flushing caches), could be used to improve the situation

> Any networked appliance can (will) throw data away if there are
> no resources available.

That is exactly what Daniel proposed in his first email.

I think his idea makes sense.

--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/