mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
criu: Allow disabling freeze cgroups
Some plugins (e.g., CUDA) may not function correctly when processes are frozen using cgroups. This change introduces a mechanism to disable the use of freeze cgroups during process seizing, even if explicitly requested via the --freeze-cgroup option. The CUDA plugin is updated to utilize this new mechanism to ensure compatibility. Signed-off-by: Andrei Vagin <avagin@google.com>
This commit is contained in:
parent
59f49c6276
commit
651df375bd
3 changed files with 58 additions and 11 deletions
|
|
@ -483,6 +483,8 @@ int cuda_plugin_init(int stage)
|
|||
INIT_LIST_HEAD(&cuda_pids);
|
||||
}
|
||||
|
||||
dont_use_freeze_cgroup();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue