From: Nathan Lynch Subject: [PATCH 0/8] checkpoint/restart: sysvshm fixes and hugetlb support Date: Tue, 14 Sep 2010 15:02:02 -0500 Message-ID: <1284494530-25946-1-git-send-email-ntl@pobox.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org List-Id: containers.vger.kernel.org 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