This pull request extends CRIU with checkpoint/restore support for the reset-on-fork scheduling flag (SCHED_RESET_ON_FORK). When this flag is set, the following rules apply for subsequently created children:
If the calling thread has a scheduling policy of SCHED_FIFO or SCHED_RR, the policy is reset to SCHED_OTHER in child processes.
If the calling process has a negative nice value, the nice value is reset to zero in child processes.
This pull request extends CRIU with checkpoint/restore support for the reset-on-fork scheduling flag (
SCHED_RESET_ON_FORK
). When this flag is set, the following rules apply for subsequently created children:If the calling thread has a scheduling policy of
SCHED_FIFO
orSCHED_RR
, the policy is reset toSCHED_OTHER
in child processes.If the calling process has a negative nice value, the nice value is reset to zero in child processes.
(See
man 7 sched
)Fixes: #2359