How to get pagetable of process for MMU of DMA in Linux?
(For DPDK app, custom DMA, custom MMU in FPGA, Zynq-7020/US+, Linux 4.6+, MMU of DMA is bounded to single process)
Task_struct of process can be obtained by kernel module which can access it by "current" as mentioned there.
struct mm_struct *mm, *active_mm; on line 1549
in struct task_struct (line 1475).
I think that page table pointer must be there but I can not see it.
Does anyone know where it is stored?