sol-TutorialI

sol-TutorialI - Question 1 The main concern in here is...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Question 1 The main concern in here is about the system call overhead. As each request for allocation of memory involves a system call, which triggers the mode switching from user-mode to kernel-mode. Frequently invoke the system calls will result in reduction of the overall performance. Thus, if we know ahead of time about the memory allocation issue, we can combine all these requests into a single memory allocation call and obtain the large memory block, and work on the assignment to individual data structures at user-space (probably using the pointer arithmetic). Question 2 Ready A process becomes ready when it is capable of using the processor when one becomes available; the process that is waiting for the processor will surely get the processor in the near future. In any responsible system, processes waiting for a long time often receive a priority boost from the operating system. Thus, the defect in a scheduling scheme could cause a ready process to wait for a long time. Blocked
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 12/01/2010 for the course CS 2342 taught by Professor Dr during the Spring '10 term at HKU.

Page1 / 2

sol-TutorialI - Question 1 The main concern in here is...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online