[PATCH openEuler-21.03 1/2] mm: add pin memory method for checkpoint add restore