Question

One crucial requirement for demand paging is the ability to restart any instruction after a page...

  1. One crucial requirement for demand paging is the ability to restart any instruction after a page fault. A major difficulty arises when one instruction may modify several different memory locations. For instance, consider the IBM System 360/370 MVC (move character) instruction, which can move up to 256 bytes from one location to another (possibly overlapping) location. If either block (source or destination) crosses a page boundary, a page fault might occur after the move is partially done. In addition, if the source and destination blocks overlap, the source block may have been modified, in which case we cannot simply restart the instruction. Can you think of a way to resolve this problem? (3 points)
0 0
Add a comment Improve this question Transcribed image text
Answer #1

The below mentioned solution can resolve the given problem:

The microcode performs the computation and based on that it tries to access the both ends of both the blocks. When a page fault is going to happen, then it will occur in this phase before any modification. Then the move can take place. No page fault is possible as all the relevant pages are residing in memory.

Hope this helps.

Add a comment
Know the answer?
Add Answer to:
One crucial requirement for demand paging is the ability to restart any instruction after a page...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT