Re: An RTOS without Memory Managment



On Fri, 26 Sep 2008 09:06:11 -0400, "Michael N. Moran"
<mnmoran@xxxxxxxxxxxxx> wrote:

whereas SafeRTOS (being safety critical) does not
permit dynamic memory allocation at all so these
buffers are provided statically by the application.

That´s why e.g. Sciopta handles the dynamic objects, so
their use is safe (with regard to "safety critical").

I am curious to know how having the operating system
handle dynamically created objects ensures safety,

It is just, that it seems to be a common to regard dynamic objects to
be un-safe. I believe, if the RTOS is written with saftety in mind (as
SCIOPTA is), creating and killing objects (i.e. memory or tasks, or
groups of tasks) will not impose an unsafe situtation.

Actually, the safe path must always be possible. If the (safety) RTOS
provides measures to handle this, even allocating of memory is safe.

(I am not sure if I could express it right ..., anyhow this is about
Sciopta, a DMP kernel w/o shared memory, w/o heap ... )

or prevents problems associated with fragmentation.

Sciopta uses fixed buffer pools, which does not completly remove
fragmentation, but it is known as internal fragmentation. But internal
fragmentation will not lead to an "out of memory" situations as on
returning memory, the whole buffer is available for the next
allocation.
--
42Bastian
Do not email to bastian42@xxxxxxxxx, it's a spam-only account :-)
Use <same-name>@monlynx.de instead !
.



Relevant Pages

  • Re: Discovering variable types...
    ... >- but I suppose MS expect us to use wrappers ... memory allocations for your variables from disk as well. ... >They most certainly are of fixed size, changing the size of a String ... >>me to keep buffer size and current postion right in the memory block. ...
    (comp.lang.pascal.delphi.misc)
  • Re: Discovering variable types...
    ... >memory it points to is on the heap. ... sequentially reading data, if one is randomly reading records, then a ... >project is what's prompting me to improve disk access. ... from a memory buffer I can do it in about a second. ...
    (comp.lang.pascal.delphi.misc)
  • Re: Multicast Directshow Graph Bridging, COW Rustling, & the Use of Portable Holes in Cartoon Ph
    ... memory to share buffer pools across processes and works pretty well. ... You get two basic Direct Show filters, ... issue each GMF-source a virtual memory alias with COW ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: PCI bus-master and large contiguous memory buffers
    ... I built my scatter gather list in SRAM that was on my device, ... could have done it in system memory had I needed to. ... interrupt when a buffer was filled, the application would save the buffer to ... beginning of the recording I made a device IO control call to my driver. ...
    (microsoft.public.development.device.drivers)
  • Re: PCI bus-master and large contiguous memory buffers
    ... As soon as device reaches the end of the buffer ... Sure, I am developing both PCI adapter and device driver, so, it is ... not afford reinitializing DMA on my device after every transfer. ... x86 CPU memory management structures I never tried to dig into Windows ...
    (microsoft.public.development.device.drivers)