[PATCH openEuler-21.03 2/2] pid: add pid reserve method for checkpoint and recover