Virtual Memory Behavior When Some Memory Is "deleted"

user4592357

New Member
i'm implementing virtual memory page model in c++. my virtual memory is larger than the physical memory. i've done the allocation part but i can't picture how to do the freeing part. what does actually happen when, for example 20 bytes are deleted (pages are 4 kbyte)? i know that in page table entries there is a present flag for page but here i still have the page, and only 20 bytes of it are deleted? and how do page table entries change? thanks in advance
 
Top