가장 많이 묻는 면접 질문과 답변 & 온라인 테스트
면접 준비, 온라인 테스트, 튜토리얼, 라이브 연습을 위한 학습 플랫폼

집중 학습 경로, 모의고사, 면접 준비 콘텐츠로 실력을 키우세요.

WithoutBook은 주제별 면접 질문, 온라인 연습 테스트, 튜토리얼, 비교 가이드를 하나의 반응형 학습 공간으로 제공합니다.

Prepare Interview

모의 시험

홈페이지로 설정

이 페이지 북마크

이메일 주소 구독

Unix 면접 질문과 답변

관련 차이점

Linux vs Unix

Ques 56. What is a Region?

A Region is a continuous area of a process?s address space (such as text, data and stack). The kernel in a ?Region Table? that is local to the process maintains region. Regions are sharable among the process.

도움이 되었나요? Add Comment View Comments
 

Ques 57. What are the events done by the Kernel after a process is being swapped out from the main memory?

When Kernel swaps the process out of the primary memory, it performs the following:
Kernel decrements the Reference Count of each region of the process. If the reference count becomes zero, swaps the region out of the main memory,
Kernel allocates the space for the swapping process in the swap device,
Kernel locks the other swapping process while the current swapping operation is going on,
The Kernel saves the swap address of the region in the region table.

도움이 되었나요? Add Comment View Comments
 

Ques 58. Is the Process before and after the swap are the same? Give reason.

Process before swapping is residing in the primary memory in its original form. The regions (text, data and stack) may not be occupied fully by the process, there may be few empty slots in any of the regions and while swapping Kernel do not bother about the empty slots while swapping the process out. After swapping the process resides in the swap (secondary memory) device. The regions swapped out will be present but only the occupied region slots but not the empty slots that were present before assigning. While swapping the process once again into the main memory, the Kernel referring to the Process Memory Map, it assigns the main memory accordingly taking care of the empty slots in the regions.

도움이 되었나요? Add Comment View Comments
 

Ques 59. What do you mean by u-area (user area) or u-block?

This contains the private data that is manipulated only by the Kernel. This is local to the Process, i.e. each process is allocated a u-area.

도움이 되었나요? Add Comment View Comments
 

Ques 60. What are the entities that are swapped out of the main memory while swapping the process out of the main memory?

All memory space occupied by the process, process?s u-area, and Kernel stack are swapped out, theoretically. Practically, if the process?s u-area contains the Address Translation Tables for the process then Kernel implementations do not swap the u-area.

도움이 되었나요? Add Comment View Comments
 

Most helpful rated by users:

Copyright © 2026, WithoutBook.