GATE / CS ARCHIVE

GATE CSE 1995 / QUESTION 1.7

Paging a segment table

Operating Systems · Virtual Memory & Paging · Full GATE CSE 1995 paper

GATE 1995, Q1.7 1 mark · MCQ
Report issue

Virtual Memory & Paging

Question 1.7, GATE 1995: Why might a paged-segmented memory scheme give the segment table itself a page table?
Tap to enlarge
Your answer
Answer & solution

Answer: A: the segment table can be too large for one page (no official key was published)

A large segment table can span multiple pages. Paging that table lets its pieces be placed in separate physical frames and, where supported, brought in on demand. A page table is then needed to translate addresses of the segment-table pages themselves. This is distinct from the page tables belonging to individual program segments. The wording “must” is architecture dependent: a small segment table or an architecture requiring contiguous resident tables need not use this extra paging level. A describes the motivation within the assumed paged-table design.

Original paper, page 1