https://jira.sw.ru/browse/PSBM-100083
Added ipset dump/restore functionality. At dump operation it calls
'ipset save' and stores result into raw text image. At restore
it restores ipset by calling 'ipset restore'. This is done prior
to restoring iptables.
Signed-off-by: Valeriy Vdovin
---
criu
https://jira.sw.ru/browse/PSBM-100083
Added ipset dump/restore functionality. At dump operation it calls
'ipset save' and stores result into raw text image. At restore
it restores ipset by calling 'ipset restore'. This is done prior
to restoring iptables.
Signed-off-by: Valeriy Vdovin
---
criu
descriptor.
- updated zdtm tests to work on all flavors: host, ns, uns
Valeriy Vdovin (1):
dump/restore: Support ipsets
criu/image-desc.c | 1 +
criu/include/image-desc.h | 1 +
criu/include/magic.h | 1 +
criu/net.c| 51
time of all restored processes.
Signed-off-by: Valeriy Vdovin
---
criu/cr-dump.c | 66 -
criu/cr-restore.c | 99 -
criu/include/crtools.h | 25 +
criu/include/prctl.h| 10 +
criu
lag set.
At suspend this value is dumped by criu and at restore it's set back
from a dump by criu.
Valeriy Vdovin (1):
ve/proc: Added separate start time field to task_struct to show in
container
fs/proc/array.c| 16
include/linux/sched.h | 5 +
incl
.
Signed-off-by: Valeriy Vdovin
---
fs/proc/array.c| 16
include/linux/sched.h | 5 +
include/linux/ve.h | 23 +++
include/uapi/linux/prctl.h | 7 +++
kernel/fork.c | 13 +
kernel/sys.c | 23
lag set.
At suspend this value is dumped by criu and at restore it's set back
from a dump by criu.
v5 changes:
- Added field to kerndat struct to check if prctl is supported by kernel
- Don't fail restore if kernel does not support start time fixing.
- Covered minor review comments.
Valeriy Vdovin
time of all restored processes.
Signed-off-by: Valeriy Vdovin
---
criu/cr-dump.c | 60 +++-
criu/cr-restore.c | 104
criu/include/crtools.h | 25
criu/include/kerndat.h | 1 +
criu/include
close call
- rearranged one patch into 2.
- worked on minor comments.
v2 changes:
- worked on minor v1 review comments, including leaked file descriptor.
- updated zdtm tests to work on all flavors: host, ns, uns
Valeriy Vdovin (2):
dump/restore: Support ipsets
zdtm: Added test that covers ipset
https://jira.sw.ru/browse/PSBM-100083
Added ipset dump/restore functionality. At dump operation it calls
'ipset save' and stores result into raw text image. At restore
it restores ipset by calling 'ipset restore'. This is done prior
to restoring iptables.
Signed-off-by: Valeriy Vdovin
---
criu
Signed-off-by: Valeriy Vdovin
---
test/zdtm/static/Makefile | 1 +
test/zdtm/static/netns-ipset.c| 58 +++
test/zdtm/static/netns-ipset.desc | 13 +
3 files changed, 72 insertions(+)
create mode 100644 test/zdtm/static/netns-ipset.c
https://jira.sw.ru/browse/PSBM-100083
Added ipset dump/restore functionality. At dump operation it calls
'ipset save' and stores result into raw text image. At restore
it restores ipset by calling 'ipset restore'. This is done prior
to restoring iptables.
Signed-off-by: Valeriy Vdovin
---
criu
Signed-off-by: Valeriy Vdovin
---
test/zdtm/static/Makefile | 1 +
test/zdtm/static/netns-ipset.c| 66 +++
test/zdtm/static/netns-ipset.desc | 13
3 files changed, 80 insertions(+)
create mode 100644 test/zdtm/static/netns-ipset.c
files
v3 changes:
- removed duplicate file close call
- rearranged one patch into 2.
- worked on minor comments.
v2 changes:
- worked on minor v1 review comments, including leaked file descriptor.
- updated zdtm tests to work on all flavors: host, ns, uns
Valeriy Vdovin (2):
dump/restore: Support
https://jira.sw.ru/browse/PSBM-100083
Signed-off-by: Valeriy Vdovin
---
fs/proc/array.c| 16
include/linux/sched.h | 5 +
include/uapi/linux/prctl.h | 7 +++
kernel/fork.c | 15 +++
kernel/sys.c | 23
lag set.
At suspend this value is dumped by criu and at restore it's set back
from a dump by criu.
Valeriy Vdovin (1):
ve/proc: Added separate start time field to task_struct to show in
container
fs/proc/array.c| 16
include/linux/sched.h | 5 +
incl
https://jira.sw.ru/browse/PSBM-100083
Signed-off-by: Valeriy Vdovin
---
criu/cr-dump.c | 49
criu/cr-restore.c | 68 ++
criu/include/crtools.h | 31 +++
images/core.proto
.
Signed-off-by: Valeriy Vdovin
---
fs/proc/array.c| 16
include/linux/sched.h | 5 +
include/linux/ve.h | 23 +++
include/uapi/linux/prctl.h | 7 +++
kernel/fork.c | 13 +
kernel/sys.c | 23
time of all restored processes.
Signed-off-by: Valeriy Vdovin
---
criu/cr-dump.c | 57 +++
criu/cr-restore.c | 73 +++---
criu/include/crtools.h | 25 +
images/core.proto | 2 ++
4
lag set.
At suspend this value is dumped by criu and at restore it's set back
from a dump by criu.
Valeriy Vdovin (1):
ve/proc: Added separate start time field to task_struct to show in
container
fs/proc/array.c| 16
include/linux/sched.h | 5 +
incl
https://jira.sw.ru/browse/PSBM-100083
Signed-off-by: Valeriy Vdovin
---
fs/proc/array.c| 16
include/linux/sched.h | 5 +
include/uapi/linux/prctl.h | 9 +
kernel/fork.c | 20
kernel/sys.c | 22
https://jira.sw.ru/browse/PSBM-100083
Signed-off-by: Valeriy Vdovin
---
criu/cr-dump.c| 49 +
criu/cr-restore.c | 40
images/core.proto | 2 ++
3 files changed, 91 insertions(+)
diff --git a/criu/cr
lag set.
At suspend this value is dumped by criu and at restore it's set back
from a dump by criu.
Valeriy Vdovin (1):
Added separate start time field to task_struct to show in container
fs/proc/array.c| 16
include/linux/sched.h | 5 +
include/uapi/li
Signed-off-by: Valeriy Vdovin
---
include/linux/cgroup.h | 4
kernel/cgroup.c| 2 +-
kernel/ve/ve.c | 4 +---
3 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h
index d671309..0239518 100644
--- a/include/linux
This will be used in further patches in same patchset.
Signed-off-by: Valeriy Vdovin
---
include/linux/cgroup.h | 7 +++
kernel/cgroup.c| 11 +++
2 files changed, 18 insertions(+)
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h
index aa91e47..d671309 100644
Signed-off-by: Valeriy Vdovin
---
include/linux/ve.h | 2 ++
kernel/ve/ve.c | 25 +
2 files changed, 27 insertions(+)
diff --git a/include/linux/ve.h b/include/linux/ve.h
index 9d60838..362dae1 100644
--- a/include/linux/ve.h
+++ b/include/linux/ve.h
@@ -125,6
Signed-off-by: Valeriy Vdovin
---
include/linux/cgroup.h | 5 +-
include/linux/ve.h | 7 +++
kernel/cgroup.c| 133 -
kernel/ve/ve.c | 67 -
4 files changed, 184 insertions(+), 28 deletions(-)
diff
As long as each ve is internally attached to a particular
css_set via it's init_task, it's good to have container with parameters,
which are common to each cgroup subsystem hierarchy, rooting from it's
virtual root.
Signed-off-by: Valeriy Vdovin
---
include/linux/ve.h | 7 +
kernel
parameter and pass it between mounts, but now it's also
responsible to store owning ve as a filed in cgroup struct.
Signed-off-by: Valeriy Vdovin
---
include/linux/cgroup.h | 27
include/linux/ve.h | 17 +
kernel/cgroup.c| 168
s uses ..set_release_agent helper without lockdep
v4: fixed possible race at cgroup_release_agent
v5: Use per-ve workqueue to maintain per-ve cgroups notifications
v6: rebased to latest branch
v7: Fixed lockdeps, removed dependency from is_running param.
Valeriy Vdovin (6):
Implemented per-ve wor
Each VE should execute release agent notifications within it's own
workqueue. This way we achieve a more fine-grained control over
release_agent work flushing at VE destruction.
Signed-off-by: Valeriy Vdovin
---
include/linux/cgroup.h | 1 +
include/linux/ve.h | 10 ++
kernel
Signed-off-by: Valeriy Vdovin
---
include/linux/cgroup.h | 1 +
kernel/cgroup.c| 38 ++
kernel/ve/ve.c | 2 ++
3 files changed, 41 insertions(+)
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h
index 0a42f93..1bd0fe7 100644
Signed-off-by: Valeriy Vdovin
---
kernel/cgroup.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/kernel/cgroup.c b/kernel/cgroup.c
index 0dbcd07..d985fd0 100644
--- a/kernel/cgroup.c
+++ b/kernel/cgroup.c
@@ -1099,7 +1099,7 @@ static int cgroup_show_options(struct
This is done so that each container could set it's own release agent.
Release agent information is now stored in per-cgroup-root data
structure in ve.
https://jira.sw.ru/browse/PSBM-83887
Signed-off-by: Valeriy Vdovin
Reviewed-by: Kirill Tkhai
---
include/linux/cgroup.h | 5 +-
include
This will be used in further patches in same patchset.
Signed-off-by: Valeriy Vdovin
Reviewed-by: Kirill Tkhai
---
include/linux/cgroup.h | 7 +++
kernel/cgroup.c| 15 +++
2 files changed, 22 insertions(+)
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h
m_root for
ve->init_task
- cgroup_mount initialized cgroup->ve_owner to ve0
- removed rarely used optimization branching from css_cgroup_from_root
Valeriy Vdovin (12):
ve/cgroup: implemented per-ve workqueue.
cgroup: added rcu node string wrapper for in-cgroup usage.
cgro
Signed-off-by: Valeriy Vdovin
Reviewed-by: Kirill Tkhai
---
include/linux/ve.h | 2 ++
kernel/ve/ve.c | 25 +
2 files changed, 27 insertions(+)
diff --git a/include/linux/ve.h b/include/linux/ve.h
index 9d60838..362dae1 100644
--- a/include/linux/ve.h
+++ b/include
As long as each ve is internally attached to a particular
css_set via it's init_task, it's good to have container with parameters,
which are common to each cgroup subsystem hierarchy, rooting from it's
virtual root.
Signed-off-by: Valeriy Vdovin
Reviewed-by: Kirill Tkhai
---
include/linux/ve.h
-by: Valeriy Vdovin
---
include/linux/cgroup.h | 4
kernel/cgroup.c| 43 +++
2 files changed, 47 insertions(+)
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h
index 1bd0fe7..7ed718d 100644
--- a/include/linux/cgroup.h
+++ b/include/linux
Signed-off-by: Valeriy Vdovin
Reviewed-by: Kirill Tkhai
---
include/linux/ve.h | 7 +++
kernel/ve/ve.c | 6 +-
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/include/linux/ve.h b/include/linux/ve.h
index 362dae1..02e00e9 100644
--- a/include/linux/ve.h
+++ b/include
Signed-off-by: Valeriy Vdovin
Reviewed-by: Kirill Tkhai
---
include/linux/cgroup.h | 4
kernel/cgroup.c| 2 +-
kernel/ve/ve.c | 4 +---
3 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h
index d671309..0239518
release_agent_cgroup work will extract ve_owner information from each
cgroup in it's list and run user mode helper under it's namespaces.
Also some code was added to detect ve destruction and manage
release_agent executions in this case.
https://jira.sw.ru/browse/PSBM-83887
Signed-off-by: Valeriy
Signed-off-by: Valeriy Vdovin
Reviewed-by: Kirill Tkhai
---
include/linux/cgroup.h | 20
kernel/cgroup.c| 20 +---
2 files changed, 21 insertions(+), 19 deletions(-)
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h
index 0239518..0a42f93
Signed-off-by: Valeriy Vdovin
Reviewed-by: Kirill Tkhai
---
include/linux/ve.h | 7 +++
kernel/ve/ve.c | 6 +-
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/include/linux/ve.h b/include/linux/ve.h
index 362dae1..02e00e9 100644
--- a/include/linux/ve.h
+++ b/include
_agent releases list spinlock
early,
patchset was split into lesser changes.
v9: rearranged cgroup_mark_ve_root with ve_workqueue_start, added lost kfree
v10: fixed indentation
Valeriy Vdovin (9):
ve/cgroup: implemented per-ve workqueue.
cgroup: added rcu node string wrapper for in-cgroup
This is done so that each container could set it's own release agent.
Release agent information is now stored in per-cgroup-root data
structure in ve.
https://jira.sw.ru/browse/PSBM-83887
Signed-off-by: Valeriy Vdovin
Reviewed-by: Kirill Tkhai
---
include/linux/cgroup.h | 5 +-
include
parameter and pass it between mounts, but now it's also
responsible to store owning ve as a filed in cgroup struct.
https://jira.sw.ru/browse/PSBM-83887
Signed-off-by: Valeriy Vdovin
Reviewed-by: Kirill Tkhai
---
include/linux/cgroup.h | 5 +++
include/linux/ve.h | 10 +
kernel/cgroup.c
Signed-off-by: Valeriy Vdovin
Reviewed-by: Kirill Tkhai
---
include/linux/ve.h | 2 ++
kernel/ve/ve.c | 25 +
2 files changed, 27 insertions(+)
diff --git a/include/linux/ve.h b/include/linux/ve.h
index 9d60838..362dae1 100644
--- a/include/linux/ve.h
+++ b/include
Signed-off-by: Valeriy Vdovin
Reviewed-by: Kirill Tkhai
---
include/linux/cgroup.h | 4
kernel/cgroup.c| 2 +-
kernel/ve/ve.c | 4 +---
3 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h
index d671309..0239518
Signed-off-by: Valeriy Vdovin
Reviewed-by: Kirill Tkhai
---
include/linux/cgroup.h | 1 +
kernel/cgroup.c| 42 ++
kernel/ve/ve.c | 2 ++
3 files changed, 45 insertions(+)
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h
As long as each ve is internally attached to a particular
css_set via it's init_task, it's good to have container with parameters,
which are common to each cgroup subsystem hierarchy, rooting from it's
virtual root.
Signed-off-by: Valeriy Vdovin
Reviewed-by: Kirill Tkhai
---
include/linux/ve.h
This will be used in further patches in same patchset.
Signed-off-by: Valeriy Vdovin
---
include/linux/cgroup.h | 7 +++
kernel/cgroup.c| 15 +++
2 files changed, 22 insertions(+)
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h
index aa91e47..d671309
Signed-off-by: Valeriy Vdovin
Reviewed-by: Kirill Tkhai
---
include/linux/cgroup.h | 20
kernel/cgroup.c| 20 +---
2 files changed, 21 insertions(+), 19 deletions(-)
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h
index 0239518..0a42f93
Signed-off-by: Valeriy Vdovin
---
include/linux/ve.h | 7 +++
kernel/ve/ve.c | 6 +-
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/include/linux/ve.h b/include/linux/ve.h
index 362dae1..02e00e9 100644
--- a/include/linux/ve.h
+++ b/include/linux/ve.h
@@ -127,6
As long as each ve is internally attached to a particular
css_set via it's init_task, it's good to have container with parameters,
which are common to each cgroup subsystem hierarchy, rooting from it's
virtual root.
Signed-off-by: Valeriy Vdovin
---
include/linux/ve.h | 7 +
kernel/ve/ve.c
Signed-off-by: Valeriy Vdovin
---
include/linux/cgroup.h | 20
kernel/cgroup.c| 20 +---
2 files changed, 21 insertions(+), 19 deletions(-)
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h
index 0239518..0a42f93 100644
--- a/include/linux
Signed-off-by: Valeriy Vdovin
---
include/linux/ve.h | 2 ++
kernel/ve/ve.c | 25 +
2 files changed, 27 insertions(+)
diff --git a/include/linux/ve.h b/include/linux/ve.h
index 9d60838..362dae1 100644
--- a/include/linux/ve.h
+++ b/include/linux/ve.h
@@ -125,6
parameter and pass it between mounts, but now it's also
responsible to store owning ve as a filed in cgroup struct.
https://jira.sw.ru/browse/PSBM-83887
Signed-off-by: Valeriy Vdovin
---
include/linux/cgroup.h | 5 +++
include/linux/ve.h | 10 +
kernel/cgroup.c| 112
Signed-off-by: Valeriy Vdovin
---
include/linux/cgroup.h | 1 +
kernel/cgroup.c| 42 ++
kernel/ve/ve.c | 2 ++
3 files changed, 45 insertions(+)
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h
index 0a42f93..1bd0fe7 100644
Signed-off-by: Valeriy Vdovin
---
include/linux/cgroup.h | 4
kernel/cgroup.c| 2 +-
kernel/ve/ve.c | 4 +---
3 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h
index d671309..0239518 100644
--- a/include/linux
_agent releases list spinlock
early,
patchset was split into lesser changes.
v9: rearranged cgroup_mark_ve_root with ve_workqueue_start, added lost kfree
Valeriy Vdovin (9):
ve/cgroup: implemented per-ve workqueue.
cgroup: added rcu node string wrapper for in-cgroup usage.
cgroup: de
This will be used in further patches in same patchset.
Signed-off-by: Valeriy Vdovin
---
include/linux/cgroup.h | 7 +++
kernel/cgroup.c| 15 +++
2 files changed, 22 insertions(+)
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h
index aa91e47..d671309
This is done so that each container could set it's own release agent.
Release agent information is now stored in per-cgroup-root data
structure in ve.
https://jira.sw.ru/browse/PSBM-83887
Signed-off-by: Valeriy Vdovin
---
include/linux/cgroup.h | 5 +-
include/linux/ve.h | 7 +++
kernel
https://jira.sw.ru/browse/PSBM-103215
Signed-off-by: Valeriy Vdovin
---
include/bc/beancounter.h | 7 ---
1 file changed, 7 deletions(-)
diff --git a/include/bc/beancounter.h b/include/bc/beancounter.h
index 6db175e..7e6acf6 100644
--- a/include/bc/beancounter.h
+++ b/include/bc
-by: Valeriy Vdovin
---
include/bc/beancounter.h | 18 --
kernel/bc/proc.c | 3 ++-
2 files changed, 2 insertions(+), 19 deletions(-)
diff --git a/include/bc/beancounter.h b/include/bc/beancounter.h
index 6db175e..a06d9b6 100644
--- a/include/bc/beancounter.h
+++ b/include/bc
On 21.04.2020 11:46, Kirill Tkhai wrote:
On 20.04.2020 15:13, Valeriy Vdovin wrote:
As long as each ve is internally attached to a particular
css_set via it's init_task, it's good to have container with parameters,
which are common to each cgroup subsystem hierarchy, rooting from it's
virtual
This is done so that each container could set it's own release agent.
Release agent information is now stored in per-cgroup-root data
structure in ve.
https://jira.sw.ru/browse/PSBM-83887
Signed-off-by: Valeriy Vdovin
---
include/linux/cgroup.h | 5 +-
include/linux/ve.h | 7
Signed-off-by: Valeriy Vdovin
Reviewed-by: Kirill Tkhai
---
include/linux/ve.h | 2 ++
kernel/ve/ve.c | 25 +
2 files changed, 27 insertions(+)
diff --git a/include/linux/ve.h b/include/linux/ve.h
index 9d60838..362dae1 100644
--- a/include/linux/ve.h
+++ b/include
Signed-off-by: Valeriy Vdovin
Reviewed-by: Kirill Tkhai
---
include/linux/ve.h | 7 +++
kernel/ve/ve.c | 6 +-
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/include/linux/ve.h b/include/linux/ve.h
index 362dae1..02e00e9 100644
--- a/include/linux/ve.h
+++ b/include
Signed-off-by: Valeriy Vdovin
Reviewed-by: Kirill Tkhai
---
include/linux/cgroup.h | 4
kernel/cgroup.c| 2 +-
kernel/ve/ve.c | 4 +---
3 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h
index d671309..0239518
-by: Valeriy Vdovin
---
kernel/cgroup.c | 33 +++--
1 file changed, 27 insertions(+), 6 deletions(-)
diff --git a/kernel/cgroup.c b/kernel/cgroup.c
index 6437344..ae417ce 100644
--- a/kernel/cgroup.c
+++ b/kernel/cgroup.c
@@ -5436,7 +5436,8 @@ void cgroup_release_agent(struct
-by: Valeriy Vdovin
Reviewed-by: Kirill Tkhai
---
include/linux/cgroup.h | 4
kernel/cgroup.c| 43 +++
2 files changed, 47 insertions(+)
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h
index 1bd0fe7..7ed718d 100644
--- a/include/linux
Signed-off-by: Valeriy Vdovin
---
kernel/cgroup.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/kernel/cgroup.c b/kernel/cgroup.c
index 006319f..f40e8f24 100644
--- a/kernel/cgroup.c
+++ b/kernel/cgroup.c
@@ -1099,7 +1099,7 @@ static int cgroup_show_options(struct
As long as each ve is internally attached to a particular
css_set via it's init_task, it's good to have container with parameters,
which are common to each cgroup subsystem hierarchy, rooting from it's
virtual root.
Signed-off-by: Valeriy Vdovin
---
include/linux/ve.h | 7 +
kernel/ve/ve.c
Each VE should execute release agent notifications within it's own
workqueue. This way we achieve a more fine-grained control over
release_agent work flushing at VE destruction.
Signed-off-by: Valeriy Vdovin
Reviewed-by: Kirill Tkhai
---
include/linux/cgroup.h | 1 +
include/linux/ve.h
proper patch. cgroup is rm'ed from
release_list
under rcu_read_lock.
v14: Rearranged error checking code after usermodehelper call in
cgroup_release_agent
Valeriy Vdovin (12):
ve/cgroup: implemented per-ve workqueue.
cgroup: added rcu node string wrapper for in-cgroup usage.
cgro
Signed-off-by: Valeriy Vdovin
Reviewed-by: Kirill Tkhai
---
include/linux/cgroup.h | 20
kernel/cgroup.c| 20 +---
2 files changed, 21 insertions(+), 19 deletions(-)
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h
index 0239518..0a42f93
This will be used in further patches in same patchset.
Signed-off-by: Valeriy Vdovin
Reviewed-by: Kirill Tkhai
---
include/linux/cgroup.h | 7 +++
kernel/cgroup.c| 15 +++
2 files changed, 22 insertions(+)
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h
Signed-off-by: Valeriy Vdovin
Reviewed-by: Kirill Tkhai
---
include/linux/cgroup.h | 1 +
kernel/cgroup.c| 38 ++
kernel/ve/ve.c | 2 ++
3 files changed, 41 insertions(+)
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h
index
12+
Signed-off-by: Eric Biggers
Signed-off-by: Herbert Xu
(cherry-picked from f43f39958beb206b53292801e216d9b8a660f087
due to https://jira.sw.ru/browse/PSBM-103298)
Signed-off-by: Valeriy Vdovin
---
crypto/crypto_user.c | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
12+
Signed-off-by: Eric Biggers
Signed-off-by: Herbert Xu
(cherry-picked from f43f39958beb206b53292801e216d9b8a660f087
due to https://jira.sw.ru/browse/PSBM-103298)
Signed-off-by: Valeriy Vdovin
---
crypto/crypto_user.c | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
This is done so that each container could set it's own release agent.
Release agent information is now stored in per-cgroup-root data
structure in ve.
https://jira.sw.ru/browse/PSBM-83887
Signed-off-by: Valeriy Vdovin
Reviewed-by: Kirill Tkhai
---
include/linux/cgroup.h | 5 +-
include
Each VE should execute release agent notifications within it's own
workqueue. This way we achieve a more fine-grained control over
release_agent work flushing at VE destruction.
Signed-off-by: Valeriy Vdovin
---
include/linux/cgroup.h | 1 +
include/linux/ve.h | 10 ++
kernel
Signed-off-by: Valeriy Vdovin
Reviewed-by: Kirill Tkhai
---
include/linux/cgroup.h | 4
kernel/cgroup.c| 2 +-
kernel/ve/ve.c | 4 +---
3 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h
index d671309..0239518
Signed-off-by: Valeriy Vdovin
Reviewed-by: Kirill Tkhai
---
include/linux/ve.h | 2 ++
kernel/ve/ve.c | 25 +
2 files changed, 27 insertions(+)
diff --git a/include/linux/ve.h b/include/linux/ve.h
index 9d60838..362dae1 100644
--- a/include/linux/ve.h
+++ b/include
Signed-off-by: Valeriy Vdovin
---
kernel/cgroup.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/kernel/cgroup.c b/kernel/cgroup.c
index 040d9b3..1bb7621 100644
--- a/kernel/cgroup.c
+++ b/kernel/cgroup.c
@@ -1099,7 +1099,7 @@ static int cgroup_show_options(struct
Signed-off-by: Valeriy Vdovin
Reviewed-by: Kirill Tkhai
---
include/linux/ve.h | 7 +++
kernel/ve/ve.c | 6 +-
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/include/linux/ve.h b/include/linux/ve.h
index 362dae1..02e00e9 100644
--- a/include/linux/ve.h
+++ b/include
m_root for
ve->init_task
- cgroup_mount initialized cgroup->ve_owner to ve0
- removed rarely used optimization branching from css_cgroup_from_root
v12: Fixed compilation error in css_cgroup_from_root. Fixed usermodehelper
error checking
Valeriy Vdovin (12):
ve/cgroup: implem
Signed-off-by: Valeriy Vdovin
Reviewed-by: Kirill Tkhai
---
include/linux/cgroup.h | 20
kernel/cgroup.c| 20 +---
2 files changed, 21 insertions(+), 19 deletions(-)
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h
index 0239518..0a42f93
Signed-off-by: Valeriy Vdovin
---
include/linux/cgroup.h | 1 +
kernel/cgroup.c| 38 ++
kernel/ve/ve.c | 2 ++
3 files changed, 41 insertions(+)
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h
index 0a42f93..1bd0fe7 100644
-by: Valeriy Vdovin
---
include/linux/cgroup.h | 4
kernel/cgroup.c| 43 +++
2 files changed, 47 insertions(+)
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h
index 1bd0fe7..7ed718d 100644
--- a/include/linux/cgroup.h
+++ b/include/linux
As long as each ve is internally attached to a particular
css_set via it's init_task, it's good to have container with parameters,
which are common to each cgroup subsystem hierarchy, rooting from it's
virtual root.
Signed-off-by: Valeriy Vdovin
Reviewed-by: Kirill Tkhai
---
include/linux/ve.h
release_agent_cgroup work will extract ve_owner information from each
cgroup in it's list and run user mode helper under it's namespaces.
Also some code was added to detect ve destruction and manage
release_agent executions in this case.
https://jira.sw.ru/browse/PSBM-83887
Signed-off-by: Valeriy
This will be used in further patches in same patchset.
Signed-off-by: Valeriy Vdovin
Reviewed-by: Kirill Tkhai
---
include/linux/cgroup.h | 7 +++
kernel/cgroup.c| 15 +++
2 files changed, 22 insertions(+)
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h
s: f1939f7c5645 ("crypto: vmac - New hash algorithm for intel_txt support")
Cc: # v2.6.32+
Signed-off-by: Eric Biggers
Signed-off-by: Herbert Xu
(cherry-picked from bb29648102335586e9a66289a1d98a0cb392b6e5 due to
https://jira.sw.ru/browse/PSBM-103241)
Signed-off-by: Valeriy.Vdovin
Si
This is done so that each container could set it's own release agent.
Release agent information is now stored in per-cgroup-root data
structure in ve.
https://jira.sw.ru/browse/PSBM-83887
Signed-off-by: Valeriy Vdovin
---
include/linux/cgroup.h | 5 +-
include/linux/ve.h | 7
This will be used in further patches in same patchset.
Signed-off-by: Valeriy Vdovin
Reviewed-by: Kirill Tkhai
---
include/linux/cgroup.h | 7 +++
kernel/cgroup.c| 15 +++
2 files changed, 22 insertions(+)
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h
-by: Valeriy Vdovin
Reviewed-by: Kirill Tkhai
---
include/linux/cgroup.h | 4
kernel/cgroup.c| 43 +++
2 files changed, 47 insertions(+)
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h
index 1bd0fe7..7ed718d 100644
--- a/include/linux
Signed-off-by: Valeriy Vdovin
Reviewed-by: Kirill Tkhai
---
include/linux/cgroup.h | 4
kernel/cgroup.c| 2 +-
kernel/ve/ve.c | 4 +---
3 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h
index d671309..0239518
Signed-off-by: Valeriy Vdovin
Reviewed-by: Kirill Tkhai
---
include/linux/ve.h | 7 +++
kernel/ve/ve.c | 6 +-
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/include/linux/ve.h b/include/linux/ve.h
index 362dae1..02e00e9 100644
--- a/include/linux/ve.h
+++ b/include
1 - 100 of 377 matches
Mail list logo