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:

    I hid my love when young till I
    Couldn’t bear the buzzing of a fly;
    I hid my life to my despite
    Till I could not bear to look at light:
    I dare not gaze upon her face
    But left her memory in each place;
    Where’er I saw a wild flower lie
    I kissed and bade my love good-bye.
    John Clare (1793–1864)