Write a pseudocode procedure that allocates pages of memory on request. Assume that 100 pages of size
Question:
Write a pseudocode procedure that allocates pages of memory on request. Assume that 100 pages of size 1 M byte, 2 M bytes, and 4 M bytes are available. The procedure should take the size of the page requested as an argument, and return a pointer to the allocated page.
The smallest available page should be used, but if the smallest size is unavailable, the next smallest should be used.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Real Time Systems Design And Analysis
ISBN: 9780470768648
4th Edition
Authors: Phillip A. Laplante, Seppo J. Ovaska
Question Posted: