Computer Multitasking - Memory Protection

Memory Protection

When multiple programs are present in memory, an ill-behaved program may (inadvertently or deliberately) overwrite memory belonging to another program, or even to the operating system itself.

The operating system therefore restricts the memory accessible to the running program. A program trying to access memory outside its allowed range is immediately stopped before it can change memory belonging to another process.

Another key innovation was the idea of privilege levels. Low privilege tasks are not allowed some kinds of memory access and are not allowed to perform certain instructions. When a task tries to perform a privileged operation a trap occurs and a supervisory program running at a higher level is allowed to decide how to respond.

Read more about this topic:  Computer Multitasking

Famous quotes containing the words memory and/or protection:

    Men like my father cannot die. They are with me still, real in memory as they were in flesh, loving and beloved forever. How green was my valley then.
    Philip Dunne (1908–1992)

    A man with convictions finds an answer for everything. Convictions are the best form of protection against the living truth.
    Max Frisch (1911–1991)