[PATCH openEuler-21.09 6/7] pid: add pid reserve method for checkpoint and recover