This patch series adds support for CRIU checkpointing of processes that share memory with the amdgpu dmabuf interface. This v6 cleans up the locking and moves some of the mapping info code into amdgpu_vm.c. The mapping flags code is a placeholder awaiting the mapping flags rework.