Rework setting up memory limits on restore

Submitted by Cyrill Gorcunov on Feb. 14, 2017, 1:40 p.m.

Details

Reviewer None
Submitted Feb. 14, 2017, 1:40 p.m.
Last Updated Feb. 15, 2017, 1:43 a.m.
Revision 1

Cover Letter

Igor, please ping me in PM once you're refy to merge the series: I'll
rebuild new criu first with changes needed so libvzctl will require
new criu to exist before the install.

Cyrill Gorcunov (3):
  cgroup: Allow to attach to specific cgroup only
  env_nsops: ns_set_memory_param -- Allow to select which param to set
  Rework setting up memory limits on restore

 lib/cgroup.c             |   4 +-
 lib/cgroup.h             |   2 +-
 lib/env.c                |  22 ++++----
 lib/env.h                |   2 +-
 lib/env_nsops.c          | 133 ++++++++++++++++++++++++++++++-----------------
 scripts/vz-rst-action.in |  21 ++------
 6 files changed, 104 insertions(+), 80 deletions(-)
  

Revisions