[CRIU] [PATCH 0/6] use core->tc->signals_s and core->thread_core->signals_p instead of signal-p/s*.img

Pavel Emelyanov xemul at parallels.com
Tue Aug 19 02:10:07 PDT 2014


On 08/15/2014 05:02 PM, Ruslan Kuprieiev wrote:
> Currently shared and private signals are stored in signal-p/s*.img.
> In order to minimize the number of imgs, lets use core*.img to store signals.
> This patch saves backward compatibility, so criu will be able to use
> signal-p/s*.img if no signals_* are found.
> 
> Ruslan Kuprieiev (6):
>   protobuf: add signal_queue_entry
>   restore: open cores for each thread early and store them at
>     current->core
>   restore: use signals_s and signals_p to prepare signals
>   dump: allocate task cores in collect_task() instead of
>     parasite_infect_seized()
>   dump: dump signals into signals_*
>   image: mark CR_FD_SIGNAL and CR_FD_PSIGNAL as obsoleted and don't
>     create signal-s.img
> 
>  cr-dump.c              |  76 +++++++++++++++++----------------
>  cr-restore.c           | 114 ++++++++++++++++++++++++++++++++++++++-----------
>  include/image-desc.h   |   5 ++-
>  parasite-syscall.c     |   3 --
>  protobuf/core.proto    |   6 +++
>  protobuf/siginfo.proto |   4 ++
>  6 files changed, 141 insertions(+), 67 deletions(-)
> 
Applied, thanks


More information about the CRIU mailing list