[CRIU] [PATCH 0/7] use core->thread_core->signals instead of signal-p/s*.img

Ruslan Kuprieiev kupruser at gmail.com
Wed Aug 13 19:33:38 PDT 2014


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 core->thread_core->signals is found.

Ruslan Kuprieiev (7):
  protobuf: siginfo.proto: add signal_queue_entry
  protobuf: siginfo.proto: add signals_entry
  protobuf: add signals entry to thread_core_entry
  restore: open cores for every thread early and store them at
    current->core
  restore: restore signals from core->thread_core->signals, if available
  dump: allocate task cores in collect_task() instead of
    parasite_infect_seized()
  dump: dump signals into core->thread_core->signals

 cr-dump.c              |  84 ++++++++++++++++++--------------
 cr-restore.c           | 128 ++++++++++++++++++++++++++++++++++++++-----------
 parasite-syscall.c     |   3 --
 protobuf/core.proto    |   3 ++
 protobuf/siginfo.proto |   9 ++++
 5 files changed, 161 insertions(+), 66 deletions(-)

-- 
1.9.1



More information about the CRIU mailing list