나무 숲
Background- In general, only part of the program needs to be in memory for execution* Codes for handling unusual error condition* Arrays, lists, and tables are often-allocated more memory than they actually need* Certain options and features of a program may be used rarely - Even in those cases where the entire program is needed, it may not all be needed at the same time 순차적 언어이므로 동시에 실행될 가능성 전혀..
Background- important roles of the operating system* to protect the operating system as well as the user processes * Limit register - size of the range* Base register - smallest legal physical memory address base(300040)+limit(120900)=420940 아래 그림을 보면 각 프로세스가 분리된 메모리 공간을 가졌음을 알 수 있다Guaranteed that each process has a separate memory space Address Binding- Address binding of instructions and data ..
Deadlock이란?set of blocked processes- each holding a resource - waiting to acquire a resource held by another process in the set Process 0: Process 1: wait(A); wait(B); wait(B); wait(A); 한 시스템은 2개의 disk drive Process 0,1을 가졌고 각각은 하나의 디스크를 hold 하면서 다른 것을 필요로 한다따라서 둘 다 자원을 이용할 수 없는 상태 System Model- 시스템은 경쟁하는 Process들 사이에 분배되어야 할 유한한 수의 Resource자원(다수의 유형)들로 구성되어 있으며 각각의 유형들은 동등한 다수의 instance로 구성되어 있..