운영체제 9장 연습문제
- 최초 등록일
- 2010.09.29
- 최종 저작일
- 2010.04
- 9페이지/ 한컴오피스
- 가격 1,000원
소개글
운영체제 9장 연습문제 조선대학교 이준 교수님꺼
목차
없음
본문내용
Exercises
9.1 Give an example that illustrates the problem with restarting the block
move instruction (MVC) on the IBM 360/370 when the source and destination
regions are overlapping.
Answer: Assume that the page boundary is at 1024 and the move
instruction is moving values from a source region of 800:1200 to a target
region of 700:1100. Assume that a page fault occurs while accessing
location 1024. By this time the locations of 800:923 have been overwritten
with the new values and therefore restarting the block move instruction
would result in copying the new values in 800:923 to locations 700:823,
which is incorrect.
9.2 Discuss the hardware support required to support demand paging.
Answer: For every memory access operation, the page table needs to
be consulted to check whether the corresponding page is resident or
not and whether the program has read or write privileges for accessing
the page. These checks would have to be performed in hardware. A
TLB could serve as a cache and improve the performance of the lookup
operation.
61
62 Chapter 9 Virtual Memory
9.3 What is the copy-on-write feature and under what circumstances is it
beneficial to use this feature? What is the hardware support required to
implement this feature?
Answer: When two processes are accessing the same set of program
values (for instance, the code segment of the source binary), then it is
useful to map the corresponding pages into the virtual address spaces
참고 자료
없음