login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
September
»
28
Re: Out of memory management in embedded systems
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Daniel Spång <daniel.spang@...>
To: linux-os (Dick Johnson) <linux-os@...>
Cc: <linux-kernel@...>
Subject:
Re: Out of memory management in embedded systems
Date: Friday, September 28, 2007 - 10:14 am
On 9/28/07, linux-os (Dick Johnson) <linux-os@analogic.com> wrote:
quoted text
> > On Fri, 28 Sep 2007, [iso-8859-1] Daniel Spång wrote: > > > On 9/28/07, linux-os (Dick Johnson) <linux-os@analogic.com> wrote: > >> > >> But an embedded system contains all the software that will > >> ever be executed on that system! If it is properly designed, > >> it can never run out of memory because everything it will > >> ever do is known at design time. > > > > Not if its input is not known beforehand. Take a browser in a mobile > > phone as an example, it does not know at design time how big the web > > pages are. On the other hand we want to use as much memory as > > possible, for cache etc., a method that involves the kernel would > > simplify this and avoids setting manual limits. > > > > Daniel > > > > Any networked appliance can (will) throw data away if there are > no resources available. > > The length of a web-page is not relevent, nor is the length > of any external data. Your example will buffer whatever it > can and not read anything more from the external source until > it has resources available unless it is broken.
And how do you determine when no resources are availabe? We are using overcommit here so malloc() will always return non null. -
unsubscribe notice
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/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
Out of memory management in embedded systems
, Daniel Spång
, (Fri Sep 28, 8:55 am)
Re: Out of memory management in embedded systems
, Daniel Phillips
, (Fri Sep 28, 9:59 pm)
Re: Out of memory management in embedded systems
, linux-os (Dick Johnson)
, (Fri Sep 28, 9:09 am)
Re: Out of memory management in embedded systems
, Daniel Spång
, (Fri Sep 28, 9:30 am)
Re: Out of memory management in embedded systems
, linux-os (Dick Johnson)
, (Fri Sep 28, 10:04 am)
Re: Out of memory management in embedded systems
, Rik van Riel
, (Fri Sep 28, 10:17 am)
Re: Out of memory management in embedded systems
, Eric Dumazet
, (Fri Sep 28, 10:36 am)
Re: Out of memory management in embedded systems
, Rik van Riel
, (Fri Sep 28, 11:15 am)
Re: Out of memory management in embedded systems
, Nicholas Miell
, (Fri Sep 28, 7:00 pm)
Re: Out of memory management in embedded systems
, Daniel Spång
, (Fri Sep 28, 10:14 am)
Re: Out of memory management in embedded systems
, linux-os (Dick Johnson)
, (Fri Sep 28, 11:16 am)
Re: Out of memory management in embedded systems
, Daniel Spång
, (Fri Sep 28, 4:58 pm)
Re: Out of memory management in embedded systems
, Abhishek Sagar
, (Sat Sep 29, 3:48 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Lennart Sorensen
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Jan Engelhardt
intel iommu (Re: -mm merge plans for 2.6.23)
Dmitry Torokhov
Re: 2.6.21-rc5-mm3
git
:
linux-netdev
:
Arjan van de Ven
Re: [GIT]: Networking
Gerrit Renker
[PATCH 18/37] dccp: Support for Mandatory options
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Natalie Protasevich
[BUG] New Kernel Bugs
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
4 users
and
570 guests
online.
Online users
traderboy99
timfan902
seofirm
raba76
Syndicate