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:

    It must be a peace without victory.... Victory would mean peace forced upon the losers, a victor’s terms imposed upon the vanquished. It would be accepted in humiliation, under duress, at an intolerable sacrifice, and would leave a sting, a resentment, a bitter memory upon which the terms of peace would rest, not permanently, but only as upon quicksand.
    Woodrow Wilson (1856–1924)

    The best protection parents can have against the nightmare of a daycare arrangement where someone might hurt their child is to choose a place that encourages parents to drop in at any time and that facilitates communication among parents using the program. If parents are free to drop in and if they exercise this right, it is not likely that adults in that place are behaving in ways that harm children.
    Gwen Morgan (20th century)