[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tlb entries basics



Anupam Kapoor wrote:
> 
> Hi all,
> 
> In the 'Understanding The Linux Kernl by Orielly' it is mentioned that
> 'the physical address is stored in a TLB entry, so that future
> references to the same linear address can be quickly translated'.
> 
> What is sort of confusing to me is : isnt it more likely that you are
> going to access a location in the same _page_ rather than the same
> _location_ itself ? So why store the _whole_ address ?
> 
> Any pointers would be greatly appreciated.

You are correct. Essentially, what is stored in the (x86) TLB
is the page-table entry.

Cheers,

-- Joe
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/