[PATCH openEuler-21.09 5/7] mm: add pin memory method for checkpoint add restore