Mapping between virtual and physical address in memory paging -


in system, paging mapped virtual address (a8b43f​​)16 physical address (13efd43f)16.

what can inferred page size?

while not enough information determine certain, can infer upper limit on page size noting lower 13 bits of both addresses same. know page index lower x bits of address, if find maximum page index, can determine maximum page size. 0x00a8b43f , 0x13efd43f share same lower 13-bits ('b1_0100_0011_1111). thus, maximum page size can 2^13 words, or 8 kwords. if memory byte addressable, means page size of 8kb.

however, without more information, knowing exact page size not possible shared bits might have come convenient mapping.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

c# - How do I get the Nth largest element from a list with duplicates, using LINQ? -

jsp - "Sending a redirect is forbidden after the response has been committed" in sendRedirect -