3 ms·
I think you're still misunderstanding. The CPU picks TTBR0 or TTBR1 based on the top significant bit of the VA, irrespective of whether the access was initiate
by amluto 9y ago
I think you're still misunderstanding. The CPU picks TTBR0 or TTBR1 based on the top significant bit of the VA, irrespective of whether the access was initiated by user or kernel code. This is in contrast to s390, which has separate page tables for user mode and kernel mode. I personally much prefer s390's model.
And yes, I've read quite a few papers, and I wrote a good fraction of the patches.
- rurban 9y agoOh, thanks. My fault then. I haven't read the arm patches, only the summary.
- kev009 9y agoI vaguely remember some threads from last decade where Linus trashed PowerPC and s390 TLBs. I wish I could find them and reread with this in mind.
- stefanfisk 9y agoare you thinking of this? http://yarchive.net/comp/powerpc_page_tables.html http://yarchive.net/comp/powerpc_page_tables.html