pid: add pid reserve method for checkpoint and restore
hulk inclusion category: feature bugzilla: 48159 CVE: N/A ------------------------------ We record the pid of dump tasks in the reserved memory, and reserve the pids before init task start. In the recover process, free the reserved pids and realloc them by setting fork_pid. Signed-off-by: NJingxian He <hejingxian@huawei.com> Reviewed-by: NJing Xiangfeng <jingxiangfeng@huawei.com> Acked-by: NHanjun Guo <guohanjun@huawei.com> Reviewed-by: NXie XiuQi <xiexiuqi@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录