Suppose you are asked to implement segmentation on a machine that has paging hardware but no segmentation hardware.You may use only software techniques. Is this possible? Explain your answer.

What will be an ideal response?


One solution is to turn off the resident bit in all page table entries. Each memory reference
will cause the processor to generate a fault and vector into the kernel. At this point
the kernel can determine which, if any, of the process’s segments corresponds to the virtual
address that generated the page fault. The kernel can then determine if the requested segment
is resident and, if so, enforce any segmentation protection mechanisms. Of course, this
technique will result in abysmal performance.

Computer Science & Information Technology

You might also like to view...

The text in the body of a newspaper or a magazine is usually formatted in a serif font

Indicate whether the statement is true or false

Computer Science & Information Technology

The ________ feature reduces the size of an object

Fill in the blank(s) with correct word

Computer Science & Information Technology

____________________ punctuation style includes a colon after the salutation and a comma after the complimentary closing.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Another name for a subclass is a(n)

a) described class. b) inherited class. c) derived class. d) parent class.

Computer Science & Information Technology