I am trying to disable cache for Kernel space. To do so, I would like to modify flags in the page table entries (PTE) of the Kernel. I found examples for walks through PTE of user space:
Does anyone know how to walk through Kernel Page Table Entries?
For more complete information about compiler optimizations, see our Optimization Notice.