Re: Out of memory management in embedded systems

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Daniel Spång <daniel.spang@...>
Cc: <linux-kernel@...>
Date: Saturday, September 29, 2007 - 3:48 pm

On 9/29/07, Daniel Spång <daniel.spang@gmail.com> wrote:

[snip]


In certain cases, I guess it could be a problem in the embedded
environment. Especially while running general purpose applications
with carefully designed real-time tasks. An OOM in such a case is
unacceptable.

The whole problem looks like an extension of page frame reclamation in
user space. If the user application's cache was owned by the kernel
(something like vmsplice with SPLICE_F_GIFT?), and the application
managed it accordingly, then they could probably be brought under the
purview of kernel's memory reclamation. This would mean that
applications wouldn't need to be triggered on low memory, and leave
memory freeing to the kernel (simpler and uniform). Perhaps it is even
possible to do this in the kernel currently somehow...?

--
Abhishek Sagar

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