criu/compel
Andrei Vagin 869d481cf2 restore: parallelize task stopping in attach_to_tasks and catch_tasks
Splitting the ptrace interrupt and wait loops allows us to send the
interrupt to all tasks and threads first, so they can start stopping in
parallel while we're still sending interrupts to the remaining ones.
This should improve restore performance for large process trees.

The redundant parse_threads calls in catch_tasks are removed as threads
are already parsed in attach_to_tasks which is called earlier.

Signed-off-by: Andrei Vagin <avagin@google.com>
2026-03-08 23:01:54 -07:00
..
arch compel/x86: probe kernel task_size at runtime 2026-02-16 22:35:00 -08:00
include compel/infect: Use waitpid with specific PIDs in compel_stop_tasks_on_syscall 2026-03-08 23:01:54 -07:00
plugins compel: infect: prepare parasite_service() for addition of CET support 2024-09-11 16:02:11 -07:00
src restore: parallelize task stopping in attach_to_tasks and catch_tasks 2026-03-08 23:01:54 -07:00
test compel: gcs: add opt-in GCS test support for AArch64 2025-12-07 19:20:00 +01:00
.gitignore compel: fix gitignore and remove autogenerated code 2025-03-21 12:40:31 -07:00
compel-host compel cli: show includes 2017-03-15 00:09:55 +03:00
Makefile compel: add riscv64 support 2025-03-21 12:40:31 -07:00