gotchaMajor
What is the difference between a 'page' of memory and a 'frame' of memory?
Viewed 0 times
thewhatdifferencebetweenpagememoryandframe
Problem
WP has an adequate discussion of paging, which I think I understand.. However I am confused by the articles repeated use of the term Page Frame.
I thought frames and pages were different things. Could someone please clarify the difference.
I thought frames and pages were different things. Could someone please clarify the difference.
Solution
Short version: "page" means "virtual page" (i.e. a chunk of virtual address space) and "page frame" means "physical page" (i.e. a chunk of physical memory).
That's it, pretty much. It's important to keep the two concepts distinct because at any given time, a page may not be backed by a page frame (it could be a zero-fill page which hasn't been accessed, or paged out to secondary memory), and a page frame may back multiple pages (sometimes in different address spaces, e.g. shared memory or memory-mapped files).
That's it, pretty much. It's important to keep the two concepts distinct because at any given time, a page may not be backed by a page frame (it could be a zero-fill page which hasn't been accessed, or paged out to secondary memory), and a page frame may back multiple pages (sometimes in different address spaces, e.g. shared memory or memory-mapped files).
Context
StackExchange Computer Science Q#11667, answer score: 47
Revisions (0)
No revisions yet.