Can I Directly Update the TLB During a Page Fault on x86-64?
I’m working with x86-64 architecture in long mode and want to know if it's possible to directly update the Translation Lookaside Buffer (TLB) with a mapping from a virtual address to a physical address during a page fault, without going through the typical page table walk process.
Virtual Address:
Physical Address:
Architecture: x86-64 (Intel Core i7-10700K)
OS: Ubuntu 22.04
Compiler: GCC 11.2.0
During a page fault exception, is there a way to directly tell the TLB that
Virtual Address:
0x7FFFD0000000 Physical Address:
0x12345000Architecture: x86-64 (Intel Core i7-10700K)
OS: Ubuntu 22.04
Compiler: GCC 11.2.0
During a page fault exception, is there a way to directly tell the TLB that
0x7FFFD0000000 should map to 0x12345000, bypassing the normal page table update and walk? If yes, how can this be achieved?