[CRIU] [PATCH 0/4] IPC: message queue checkpoint/restore - requested updates

Stanislav Kinsbursky skinsbursky at parallels.com
Mon Apr 9 13:53:49 EDT 2012


This patch set updates IPC checkpoint/restore support according to discussion
of previous patch set named "IPC: message queue checkpoint support".
What has been changed:
1) MSG_STEAL was replaced by MSG_PEEK_ALL (as suggested by Michael Kerrisk)
2) All checkpoint/restore code has been put under CONFIG_CHECKPOINT_RESTORE
define.
3) Added return of ENOSYS in case of sys_msgrcv was called with MSG_PEEK_ALL
flag, but kernel was compiled without checkpoint/restore support.
4) Test for support of SYSV IPC message queues checkpoint/restore added to the
series. Test file: msgque.c

Michael, please, tell me, what I have to do (or provide) to update man page
accordingly.

The following series consists of:

---

Stanislav Kinsbursky (4):
      ipc: rename obfuscating MSG_STEAL flag into MSG_PEEK_ALL
      ipc: move all checkpoint-restore code under appropriate define
      ipc: handle MSG_PEEK_ALL flag if CONFIG_CHECKPOINT_RESTORE is dropped
      test: IPC message queue migration test


 include/linux/msg.h |    2 -
 ipc/compat.c        |   16 ++++-
 ipc/msg.c           |   27 +++++++--
 msgque.c            |  151 +++++++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 185 insertions(+), 11 deletions(-)
 create mode 100644 msgque.c



More information about the CRIU mailing list