Memory Management | ||||||||||||||||||||||||||
All tasks executed by a computer need some memory space. One of the jobs
of the operating system is to allocate areas of memory to different tasks.
These areas of memory are called partitions.
Some areas of memory are permanently allocated or reserved for special purposes eg BIOS, Booting up, Video display, etc... but there will be an area of memory which can be allocated to other tasks as required. A memory map will show what areas of memory are allocated to what tasks...
The partitioning of memory may allow a number of different processes to be undertaken at the same time. The operating system must make sure that..
Virtual memory techniques may be used where the memory required by a task is divided into pages. These pages can be swapped into memory when needed or on to hard disc when not required. (This makes the task think it is using more memory than it actually is!). The OS will need to keep very careful track of the pages and where they are stored!! A buffer is an area of memory set aside for storing temporary data. Buffers are widely used for input and output data.
|
||||||||||||||||||||||||||