[Devel] [PATCH rh7 02/11] ub: zap show_ub_mem

2015-05-20 Thread Vladimir Davydov
It is called by the showmem sysctl. Hell knows why it was added and who would ever used it. Anyways, all this info is in memcg now, so zap it. If anyone needs it one day, which I doubt, it will have to be reimplemented in the scope of memcg. Signed-off-by: Vladimir Davydov vdavy...@parallels.com

[Devel] [PATCH rh7 01/11] ub: remove some dead code

2015-05-20 Thread Vladimir Davydov
This patch removes remnants from physpages, swappages, kmemsize, dcachesize, and oomguarpages handling logic. These resource types are either already handled by memcg, or will be soon, or will be reworked. Signed-off-by: Vladimir Davydov vdavy...@parallels.com --- include/bc/vmpages.h|6

[Devel] [PATCH RHEL7 COMMIT] Revert ploop: add a separate queue for discard bio-s (v2)

2015-05-20 Thread Konstantin Khorenko
The commit is pushed to branch-rh7-3.10.0-123.1.2-ovz and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-123.1.2.vz7.5.4 -- commit e9c37e639d34e65b95bd445042eae76f8e70d6a3 Author: Konstantin Khorenko khore...@openvz.org Date: Wed May 20 15:58:34 2015 +0400

[Devel] [PATCH RHEL7 COMMIT] Revert ploop: fix busyloop on secondary discard bio

2015-05-20 Thread Konstantin Khorenko
The commit is pushed to branch-rh7-3.10.0-123.1.2-ovz and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-123.1.2.vz7.5.4 -- commit 01cebd23c8c37738f3d3d5a2aec2a68e8fe74a15 Author: Konstantin Khorenko khore...@openvz.org Date: Wed May 20 15:53:18 2015 +0400

[Devel] [PATCH rh7 00/11] ub: more cleanups

2015-05-20 Thread Vladimir Davydov
Vladimir Davydov (11): ub: remove some dead code ub: zap show_ub_mem ub: simplify memcg synchronization ub: do not apply memcg limits on attaching via sys_setluid ub: sync memcg before setting limit via sys_setublimit ub: drop ubc_ioprio knob ub: cleanup cgroup attaching code ub:

[Devel] [PATCH rh7 07/11] ub: cleanup cgroup attaching code

2015-05-20 Thread Vladimir Davydov
Signed-off-by: Vladimir Davydov vdavy...@parallels.com --- kernel/bc/beancounter.c | 52 +++ 1 file changed, 12 insertions(+), 40 deletions(-) diff --git a/kernel/bc/beancounter.c b/kernel/bc/beancounter.c index b865f930bcb5..ee888d093583 100644 ---

[Devel] [PATCH RHEL7 COMMIT] ve/cgroup: Temporary allow writting cgroups files inside container

2015-05-20 Thread Konstantin Khorenko
The commit is pushed to branch-rh7-3.10.0-123.1.2-ovz and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-123.1.2.vz7.5.4 -- commit 4bf649a4b610948fab9b43583961c5e1635938f5 Author: Cyrill Gorcunov gorcu...@odin.com Date: Wed May 20 16:13:32 2015 +0400

Re: [Devel] [PATCH rh7 00/11] ub: more cleanups

2015-05-20 Thread Vladimir Davydov
One more patch to this basket: --- From: Vladimir Davydov vdavy...@parallels.com Subject: [PATCH] ub: zap /proc/bc/ID/dcacheinfo This patch prunes the code for showing dcacheinfo, which does not work anyway and is commented out. This file was introduced for debug purposes and therefore is not a

[Devel] [PATCH RHEL7 COMMIT] ve/cgroup: Allow mounting existing cgroups inside container

2015-05-20 Thread Konstantin Khorenko
The commit is pushed to branch-rh7-3.10.0-123.1.2-ovz and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-123.1.2.vz7.5.4 -- commit 8d96fa6e147c9c335a35ef01afe2a876ed3e007f Author: Cyrill Gorcunov gorcu...@odin.com Date: Wed May 20 16:13:25 2015 +0400

[Devel] [PATCH rh7 05/11] ub: sync memcg before setting limit via sys_setublimit

2015-05-20 Thread Vladimir Davydov
Otherwise, sys_setublimit can reset limits for resources accounted by memcg. Signed-off-by: Vladimir Davydov vdavy...@parallels.com --- kernel/bc/sys.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/bc/sys.c b/kernel/bc/sys.c index 096aa978b04e..3c0b9abf0df4 100644 ---

[Devel] [PATCH rh7 08/11] ub: kill ub_dcache_threshold sysctl knob

2015-05-20 Thread Vladimir Davydov
This is a leftover of dcache accounting, which has already been removed. Signed-off-by: Vladimir Davydov vdavy...@parallels.com --- kernel/bc/beancounter.c |9 - 1 file changed, 9 deletions(-) diff --git a/kernel/bc/beancounter.c b/kernel/bc/beancounter.c index

[Devel] [PATCH rh7] cgroup: ve -- Align ve_cftypes assignments

2015-05-20 Thread Cyrill Gorcunov
For readability sake. We've other aligned already. Signed-off-by: Cyrill Gorcunov gorcu...@odin.com CC: Konstantin Khorenko khore...@odin.com --- kernel/ve/ve.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) Index: linux-pcs7.git/kernel/ve/ve.c

[Devel] OpenVZ vote

2015-05-20 Thread Sergey Bronnikov
OpenVZ has a big number of users, developers and contributors around project. We listen to our community. Help us to know your needs by answering on questions about using OpenVZ. http://goo.gl/forms/orYmy0SjFB Regards, Sergey Bronnikov ___ Devel

[Devel] [RFC rh7] net: venet -- Cleanup ip address on ve exit

2015-05-20 Thread Cyrill Gorcunov
While been playing with c/r of a container with IP assigned I found that VE exit (ve_drop_context) is happening earlier than venet::exit routine which means the ve::ve_netns = nil when we enter into ip releasing procedure. | zap_pid_ns_processes | ve_stop_ns | ve_exit_ns |

Re: [Devel] [PATCH rh7 04/11] ub: do not apply memcg limits on attaching via sys_setluid

2015-05-20 Thread Vladimir Davydov
I recalled why I had added this patch - we have to activate kmem in the underlying memcg before attaching a task to a beancounter. However, it is obviously better to do that when a beancounter is created via the legacy API. The patch below does the trick. The only difference between the previous

[Devel] [PATCH RHEL7 COMMIT] ve/cgroups: Align ve_cftypes assignments

2015-05-20 Thread Konstantin Khorenko
The commit is pushed to branch-rh7-3.10.0-123.1.2-ovz and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-123.1.2.vz7.5.5 -- commit 02207c56afb730264fd115d6d988ce7607295587 Author: Cyrill Gorcunov gorcu...@odin.com Date: Wed May 20 18:42:15 2015 +0400

Re: [Devel] dev_ns: tips needed

2015-05-20 Thread Konstantin Khorenko
On 05/20/2015 12:43 PM, Pavel Emelyanov wrote: On 05/20/2015 09:43 AM, Sergey Korshunoff wrote: Hi Pavel! Some tips are needed regarding dev_ns. Is this ns already present in openvz? Nope, sorry. Yup, Oren and Amir :) They are in CellRox project currently. Please, stay on the mailing