在Linux内核中,可以使用dump_pagetable函数来dump虚拟地址对应的页表信息。

https://elixir.bootlin.com/linux/v5.19/source/arch/x86/mm/fault.c#L348