On a modern 64-bit x86 Linux, how is the mapping between virtual and physical pages set up, kernel side? On the user side, you can mmap in pages from the page cache, and this will map 4K pages in directly into user space - but I am interesting in how the pages are mapped in the kernel side.
Does it make use of the "whole ram identity mapping" or something else? Is that whole ram identity mapping generally using 1GB pages?