Real-time Operating System - Memory Allocation

Memory Allocation

Memory allocation is more critical in an RTOS than in other operating systems.

First, speed of allocation is important. A standard memory allocation scheme scans a linked list of indeterminate length to find a suitable free memory block. This is unacceptable in an RTOS since memory allocation has to occur within a certain amount of time.

The simple fixed-size-blocks algorithm works quite well for simple embedded systems because of its low overhead.

Read more about this topic:  Real-time Operating System

Famous quotes containing the word memory:

    Play for young children is not recreation activity,... It is not leisure-time activity nor escape activity.... Play is thinking time for young children. It is language time. Problem-solving time. It is memory time, planning time, investigating time. It is organization-of-ideas time, when the young child uses his mind and body and his social skills and all his powers in response to the stimuli he has met.
    James L. Hymes, Jr. (20th century)