[PATCH 0/8] checkpoint/restart: sysvshm fixes and hugetlb support

Nathan Lynch ntl at pobox.com
Tue Sep 14 13:02:02 PDT 2010


The following patches implement c/r for huge pages and fix a couple of
minor issues in the SysV shm c/r code I noticed in the process.

Tested on i386, x86_64, and ppc64.

Nathan Lynch (8):
  sysvshm: check for hugetlb before assuming shmem
  sysvshm: report error on failure to reattach, avoid crash
  checkpoint/sysvshm: release rwsem earlier during restore
  checkpoint/ipc: allow shmat callers to specify ipc namespace
  checkpoint/restart of anonymous hugetlb mappings
  remove VM_HUGETLB and VM_RESERVED from CKPT_VMA_NOT_SUPPORTED
  hugetlbfs checkpoint/restart hooks
  checkpoint/restart of SysV SHM_HUGETLB regions

 fs/hugetlbfs/inode.c           |   24 ++++-
 include/linux/checkpoint.h     |    7 +-
 include/linux/checkpoint_hdr.h |   16 +++
 include/linux/hugetlb.h        |   11 ++
 include/linux/shm.h            |    8 +-
 ipc/checkpoint_shm.c           |  172 ++++++++++++++++++++++++---
 ipc/shm.c                      |   17 ++--
 mm/checkpoint.c                |   13 ++
 mm/hugetlb.c                   |  257 ++++++++++++++++++++++++++++++++++++++++
 9 files changed, 491 insertions(+), 34 deletions(-)

-- 
1.7.2.2



More information about the Containers mailing list