operating system - TLB Hit - Checking if the page is within the process's memory space -


i have been reading translation of virtual addresses physical addresses. understand tlb hardware cache resides in cpu's memory management unit , contains mappings of recent pages accessed.

however, there tlb hit - how os ensure page can accessed process (is within process's allocated address space)?

i believe 1 way check process's page table, seems defeat whole purpose of using tlb. insights ?

it depends upon memory management strategy os using. examples, in case of os using inverted paging table, each entry in page table contains id of process (pid) owning page.

for "normal" paging, each paging entry may contain bits memory protection , sharing.


Comments

Popular posts from this blog

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -

python 3.x - Mapping specific letters onto a list of words -