checkpoint/restart: sysvshm fixes and hugetlb support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 12 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | sysvshm: check for hugetlb before assuming shmemipc/ | +7 | 0 replies | |
| 2/8 | sysvshm: report error on failure to reattach, avoid crashipc/ | +1 | 3 replies | |
| 3/8 | checkpoint/sysvshm: release rwsem earlier during restoreipc/ | +4 | 0 replies | |
| 4/8 | checkpoint/ipc: allow shmat callers to specify ipc namespaceinclude/ ipc/ | +13 | 0 replies | |
| 5/8 | checkpoint/restart of anonymous hugetlb mappingsinclude/ include/ include/ +2 more | +300 | 3 replies | |
| 6/8 | remove VM_HUGETLB and VM_RESERVED from CKPT_VMA_NOT_SUPPORTEDinclude/ | +1 | 1 reply | |
| 7/8 | hugetlbfs checkpoint/restart hooksfs/ | +23 | 0 replies | |
| 8/8 | checkpoint/restart of SysV SHM_HUGETLB regionsipc/ | +142 | 2 replies |
Reviews trailers per patch
1 of 8 patches has a Reviewed-by or Acked-by.
| Patch | Matt Helsley |
|---|---|
| 1/8 | |
| 2/8 | R-b |
| 3/8 | |
| 4/8 | |
| 5/8 | |
| 6/8 | |
| 7/8 | |
| 8/8 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/8] checkpoint/restart: sysvshm fixes and hugetlb support
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(-)
Signature · 1 line
1.7.2.2