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

Ruslan Kuprieiev kupruser at gmail.com
Tue Aug 5 01:35:55 PDT 2014


Currently shared and private signals are stored in signal-p/s*.img.
In order to minimize 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->tc->signals is found.

Ruslan Kuprieiev (6):
  protobuf: siginfo.proto: add signal_queue_entry
  protobuf: siginfo.proto: add signals_entry
  protobuf: core.proto: add signals to task core
  dump: dump signals before infecting with parasite
  dump: store signals in core->tc->signals, instead of writing them to
    signal_p/s*.img
  restore: restore signals from core->tc->signals, othrewise -- from
    signal_p/s*.img

 cr-dump.c              | 66 +++++++++++++++++++++--------------------
 cr-restore.c           | 79 ++++++++++++++++++++++++++++++++++++--------------
 protobuf/core.proto    |  4 +++
 protobuf/siginfo.proto |  9 ++++++
 4 files changed, 106 insertions(+), 52 deletions(-)

-- 
1.9.1



More information about the CRIU mailing list