Memory part 3: Virtual Memory
Posted Oct 11, 2007 11:12 UTC (Thu) by
addw (guest, #1771)
Parent article:
Memory part 3: Virtual Memory
This means, on average, that each mapping wastes half the page size in physical memory for each mapping.
Is that really correct ? If there is an allocation several pages long then the last page will be, on average, 1/2 wasted.
Look at the example a bit later, the first memory size is 0x0132ac (78508 decimal) which is 19 (4k sized) pages and 684 bytes, so 3412 out of 78508 bytes wasted = 4%.
(
Log in to post comments)