From the course: IoT Foundations: Operating Systems Fundamentals

Unlock the full course today

Join today to access over 23,200 courses taught by industry experts.

Memory allocation

Memory allocation

- [Narrator] We know that the memory is a key computing resource for keeping the kernel and the user applications up and running. Therefore, it is important to know how the memory is managed by an OS. In a computer the memory is basically the hardware for information storage and retrieval. We have two kinds of memories. The first is volatile memory used as the main memory of the computer for temporarily storing information at a high speed and we also have non volatile memory which is the memory storage that can hold the data permanently. The typical example is flash memory. In order to save the information memory storage device is split into sectors and blocks usually in data units of bytes. Managing these memory blocks is not a trivial job and is often handled by a memory allocation algorithm supported by an OS. The OS kernel will manage in the memory usually in order to save and retrieve data efficiently. A fundamental job is efficient allocation of the memory. Memory allocation is…

Contents