468,321 Members | 1,654 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,321 developers. It's quick & easy.

Virtual Memory Behavior When Some Memory Is "deleted"

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
Apr 8 '17 #1
0 3755

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

3 posts views Thread by Gregor Wind | last post: by
1 post views Thread by Michael Kansky | last post: by
reply views Thread by Michael Kansky | last post: by
3 posts views Thread by Adam Clauss | last post: by
reply views Thread by NPC403 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.