3 ms·
Not ARM. You're confusing kernel mode with kernel addresses.
by amluto 9y ago
Not ARM. You're confusing kernel mode with kernel addresses.
- rurban 9y agoNope, read the paper, read the patches. Only Intel is affected. Arm has two such registers, TTB0 and TTB1. http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0333h/I1029222.html http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc....
- amluto 9y agoI 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