dcache is now accounted as part of memcg:kmem, so remove the leftovers.
If we decide to account dcache separately, we will re-implement/port
what we really need.
Signed-off-by: Vladimir Davydov vdavy...@parallels.com
---
fs/namei.c |1 -
include/bc/beancounter.h |6 --
If error happened during new net-namespace creation we might
end up having VE reference taken and never put back.
| copy_net_ns
| setup_net
| ...
| net-owner_ve = get_ve(get_exec_env());
| ...
| error = ops_init(ops, net);
| if (error 0)
|goto out_undo;
| ...
|
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.1
--
commit a1cd5a98145e5032cad97a0bf15e3e0904fad8d0
Author: Vladimir Davydov vdavy...@parallels.com
Date: Mon May 18 17:00:04 2015 +0400
On 05/18/2015 03:52 PM, Cyrill Gorcunov wrote:
On Mon, May 18, 2015 at 11:21:40AM +0300, Konstantin Khorenko wrote:
Is this true that without these checks a single thread of a multithread
process can enter CT?
If no - where is the check for this case?
If yes - let's prohibit this.
An
If meminfo_val != VE_MEMINFO_DEFAULT in bc_fill_sysinfo, it equals
VE_MEMINFO_SYSTEM, in which case we return from bc_fill_sysinfo
immediately.
Signed-off-by: Vladimir Davydov vdavy...@parallels.com
---
kernel/bc/vm_pages.c | 22 --
1 file changed, 4 insertions(+), 18
There's no point in it, because w/o it beancounters are useless. Plus,
it isn't actually used throughout the code, because rss accounting is up
to memcg now. So, just make CONFIG_BEANCOUNTERS depend on memcg and
remove the option.
Also, remove dependency on CONFIG_CGROUP_HUGETLB, because we don't
oom_badness now returns absolute badness, not per mille. So we have to
revert the chunk of PCS6 code that doesn't know that. Note, I use the
global totalpages rather than per ub as it used to be, because ub's oom
killer doesn't work anyway for now and will be reimplemented in the
scope of the
Vladimir Davydov (5):
ub: remove CONFIG_BC_RSS_ACCOUNTING
ub: get rid of dcache accounting related stuff
bc: sysinfo: remove dead code
proc: fix oom_score output
bc: zap oom kill related stuff
arch/x86/mm/fault.c |2 -
config.OpenVZ|1 -
drivers/tty/sysrq.c
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.1
--
commit 213b5800cbf1e1f36efaab61f2f49ea198bdb1e8
Author: Vasily Averin v...@odin.com
Date: Mon May 18 16:32:55 2015 +0400
ve/cgroups:
On Mon, May 18, 2015 at 01:22:22PM +0300, Cyrill Gorcunov wrote:
In PCS7 cgroups are configured from user space, so there is
no longer connection from ve to device cgroup via css as
it was in PCS6. Instead we should open device cgroup explicitly.
https://jira.sw.ru/browse/PSBM-33555
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.1
--
commit 16d8b1d984f26100bf006ed93fcd47642401dd26
Author: Vasily Averin v...@odin.com
Date: Mon May 18 12:29:44 2015 +0400
On 05/14/2015 07:52 PM, Cyrill Gorcunov wrote:
In vzctl/libvzctl bundle we restore container like
- create ve/$ctid cgroup
- move self into this cgroup
- run criu from inside
So that kernel code passes ve_can_attach test. In turn for
our P.Haul project (which is managing live
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.1
--
commit 8782918c418820d5127afa4a5db74c9b3eac3b82
Author: Vasily Averin v...@odin.com
Date: Mon May 18 12:29:57 2015 +0400
On Mon, May 18, 2015 at 07:42:50PM +0300, Cyrill Gorcunov wrote:
On Mon, May 18, 2015 at 07:34:45PM +0300, Vladimir Davydov wrote:
/*
+ * We either moving the whole group of threads,
+ * either a single thread process.
+ */
+ if (cgroup_taskset_size(tset) == 1) {
!=
On Mon, May 18, 2015 at 08:41:33PM +0300, Vladimir Davydov wrote:
OK, I see, thanks.
But if we are attaching one thread which is thread_group_leader, we will
not fail even if the thread group is not empty and other threads are not
moved, will we?
Yeah ;) It should be OR here. Thank you!
On Mon, May 18, 2015 at 07:34:45PM +0300, Vladimir Davydov wrote:
/*
+* We either moving the whole group of threads,
+* either a single thread process.
+*/
+ if (cgroup_taskset_size(tset) == 1) {
!= ?
+ task = cgroup_taskset_first(tset);
+
On Mon, May 18, 2015 at 07:43:40PM +0300, Cyrill Gorcunov wrote:
For uuid-named cgroups ve-veid != cgroup name. You should use ve-name
instead. Please fix.
Oh, i forgot about this new approach with uuid containers. Sure will do,
thank you!
Attached.
From: Cyrill Gorcunov
On Mon, May 18, 2015 at 07:33:41PM +0300, Vladimir Davydov wrote:
On Mon, May 18, 2015 at 01:22:22PM +0300, Cyrill Gorcunov wrote:
--- linux-pcs7.git.orig/security/device_cgroup.c
+++ linux-pcs7.git/security/device_cgroup.c
@@ -1091,10 +1091,16 @@ int devcgroup_set_perms_ve(struct cgroup
On Mon, May 18, 2015 at 01:22:22PM +0300, Cyrill Gorcunov wrote:
--- linux-pcs7.git.orig/security/device_cgroup.c
+++ linux-pcs7.git/security/device_cgroup.c
@@ -1091,10 +1091,16 @@ int devcgroup_set_perms_ve(struct cgroup
}
EXPORT_SYMBOL(devcgroup_set_perms_ve);
-int
On Mon, May 18, 2015 at 03:52:35PM +0300, Cyrill Gorcunov wrote:
--- linux-pcs7.git.orig/kernel/ve/ve.c
+++ linux-pcs7.git/kernel/ve/ve.c
@@ -750,24 +750,31 @@ static void ve_destroy(struct cgroup *cg
static int ve_can_attach(struct cgroup *cg, struct cgroup_taskset *tset)
{
struct
On Mon, May 18, 2015 at 08:04:27PM +0300, Cyrill Gorcunov wrote:
From: Cyrill Gorcunov gorcu...@odin.com
Subject: ve: device cgroup -- Implement devcgroup_seq_show_ve
In PCS7 cgroups are configured from user space, so there is
no longer connection from ve to device cgroup via css as
it was
From: Andrew Perepechko pa...@cloudlinux.com
Currently, shmem_lock immediately and
unconditionally uncharges what it has
just charged for a lock request.
This, indeed, causes a double uncharge
with something like the following:
shmid = shmget(12345, 8192, IPC_CREAT | 0666);
rc =
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.1
--
commit 729323172bc760a2daf4d790a5bffc74ec10c04d
Author: Cyrill Gorcunov gorcu...@odin.com
Date: Tue May 19 00:43:44 2015 +0400
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.1
--
commit 0385f754e9f680c7d5095ae981fe29c1b6e7323a
Author: Andrey Smetanin asmeta...@virtuozzo.com
Date: Tue May 19 08:26:55 2015 +0400
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.1
--
commit a762247cf8ff0b2ec0ba6e8a9742f7a5e38a8b15
Author: Andrey Smetanin asmeta...@virtuozzo.com
Date: Tue May 19 08:27:02 2015 +0400
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.1
--
commit d742aa564de94c3816a9d3a7991adb00d23678d4
Author: Andrey Smetanin asmeta...@virtuozzo.com
Date: Tue May 19 08:27:04 2015 +0400
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.1
--
commit 9a5fe498a7a1d9c1ecf4001c0766f325f1139079
Author: Andrey Smetanin asmeta...@virtuozzo.com
Date: Tue May 19 08:27:09 2015 +0400
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.1
--
commit b6eb7575242d5e266d231ed53a4f7e03e47b2a68
Author: Andrey Smetanin asmeta...@virtuozzo.com
Date: Tue May 19 08:27:10 2015 +0400
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.1
--
commit a5678140dd8f793272b5e562e81e27e2a249e4fd
Author: Andrey Smetanin asmeta...@virtuozzo.com
Date: Tue May 19 08:27:11 2015 +0400
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.1
--
commit 622b02378d190968a9ad04f5e8161a1574a1d2df
Author: Andrey Smetanin asmeta...@virtuozzo.com
Date: Tue May 19 08:27:15 2015 +0400
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.1
--
commit 3e48c113a59f801934292fc89e6915b1d8a341a7
Author: Vladimir Davydov vdavy...@parallels.com
Date: Tue May 19 08:23:48 2015 +0400
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.1
--
commit 8854414d2d97abd7ab86d4c9d1c74d9b2fc04c3c
Author: Andrey Smetanin asmeta...@virtuozzo.com
Date: Tue May 19 08:26:56 2015 +0400
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.1
--
commit 96f009d1061c9e1ec9b6c7699eef565bcd44f26a
Author: Andrey Smetanin asmeta...@virtuozzo.com
Date: Tue May 19 08:26:59 2015 +0400
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.1
--
commit 0ac13b3ba07b42573f151c21d9727a2cbcd415d1
Author: Andrey Smetanin asmeta...@virtuozzo.com
Date: Tue May 19 08:27:00 2015 +0400
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.1
--
commit 5e02bd5942dd5cfd66f5b4096e966ae9b134b5ea
Author: Andrey Smetanin asmeta...@virtuozzo.com
Date: Tue May 19 08:27:01 2015 +0400
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.1
--
commit e3b634ed036e618d74643faaa478dc3951c2f781
Author: Andrey Smetanin asmeta...@virtuozzo.com
Date: Tue May 19 08:27:05 2015 +0400
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.1
--
commit ee2968cd8321728956effea19e98959befec32d0
Author: Andrey Smetanin asmeta...@virtuozzo.com
Date: Tue May 19 08:27:07 2015 +0400
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.1
--
commit abc95cfc45bd725c7aba2f7697e322413ae5725a
Author: Andrey Smetanin asmeta...@virtuozzo.com
Date: Tue May 19 08:27:12 2015 +0400
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.1
--
commit 051a2a154c0e040d7d15ab9a3b56b77d9de021b3
Author: Andrey Smetanin asmeta...@virtuozzo.com
Date: Tue May 19 08:27:16 2015 +0400
(I previously replied to Nikolay only -- re-sending with devel@ included)
On 05/12/2015 02:36 AM, Nikolay Tenev wrote:
Hello devs,
In my project I wanted to make every OpenVZ container to use for a
private directory (VE_PRIVATE) separated block device (HDD partition,
lvm volume, NFS share,
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.1
--
commit 77c59afe2b55a1dd631c3b8a6d3763eff8d09941
Author: Vladimir Davydov vdavy...@parallels.com
Date: Tue May 19 08:23:31 2015 +0400
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.1
--
commit 35dcabf891ce1931294c5bf3d98e1203ff656432
Author: Vladimir Davydov vdavy...@parallels.com
Date: Tue May 19 08:23:57 2015 +0400
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.1
--
commit c25ed54c1a19bc8c11fcc472c3e4869c210eca97
Author: Andrey Smetanin asmeta...@virtuozzo.com
Date: Tue May 19 08:26:57 2015 +0400
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.1
--
commit 6051dc5f6e200cef2011e2174d1c3b76280fe75f
Author: Andrey Smetanin asmeta...@virtuozzo.com
Date: Tue May 19 08:27:01 2015 +0400
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.1
--
commit e4c1ce43241df81fad73953200d887c6a402d82f
Author: Andrey Smetanin asmeta...@virtuozzo.com
Date: Tue May 19 08:27:07 2015 +0400
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.1
--
commit 3ebe6f8f4178ebf89b3aff5b064657e1e9615dce
Author: Andrey Smetanin asmeta...@virtuozzo.com
Date: Tue May 19 08:27:11 2015 +0400
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.1
--
commit fa6f3b8595f13c13eebd452bc0947754ac249c2c
Author: Andrey Smetanin asmeta...@virtuozzo.com
Date: Tue May 19 08:27:10 2015 +0400
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.1
--
commit ebf1008ff2e19354244317140b41ae3c2854f74b
Author: Andrey Smetanin asmeta...@virtuozzo.com
Date: Tue May 19 08:27:13 2015 +0400
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.1
--
commit 822c64967450485c2a26b9cfbf388d85ad022781
Author: Andrey Smetanin asmeta...@virtuozzo.com
Date: Tue May 19 08:27:13 2015 +0400
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.1
--
commit a24f999555ce0caf879864e9b623908830e54232
Author: Andrey Smetanin asmeta...@virtuozzo.com
Date: Tue May 19 08:27:17 2015 +0400
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.1
--
commit 09fe781813a8c4e74ad6f9621cf26acb705424f4
Author: Andrey Smetanin asmeta...@virtuozzo.com
Date: Tue May 19 08:26:54 2015 +0400
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.1
--
commit 732676a0eafac636b18f060f06b79312e0ad829d
Author: Andrey Smetanin asmeta...@virtuozzo.com
Date: Tue May 19 08:26:55 2015 +0400
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.1
--
commit 102acd98b5d6ddf9a310a0c0a54e21d6903d23ab
Author: Andrey Smetanin asmeta...@virtuozzo.com
Date: Tue May 19 08:26:58 2015 +0400
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.1
--
commit df915f10c4c348fb40ab7fded3ae860b715d7103
Author: Andrey Smetanin asmeta...@virtuozzo.com
Date: Tue May 19 08:27:03 2015 +0400
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.1
--
commit fd12acccf76e1a56f073322414cd43cbffa598ba
Author: Andrey Smetanin asmeta...@virtuozzo.com
Date: Tue May 19 08:27:04 2015 +0400
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.1
--
commit 97ba7085978ee4245beaf43c5543cb230094189d
Author: Andrey Smetanin asmeta...@virtuozzo.com
Date: Tue May 19 08:27:06 2015 +0400
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.1
--
commit ace664d9412efd2fa814851b0be55751dc9ed13a
Author: Andrey Smetanin asmeta...@virtuozzo.com
Date: Tue May 19 08:27:05 2015 +0400
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.1
--
commit bc411f061cc8878edb65db52b8e58ab2fa218186
Author: Cyrill Gorcunov gorcu...@odin.com
Date: Tue May 19 00:43:32 2015 +0400
ve:
Signed-off-by: Kirill Tkhai ktk...@odin.com
---
scripts/basic/fixdep | Bin
scripts/kconfig/conf | Bin
2 files changed, 0 insertions(+), 0 deletions(-)
delete mode 100755 scripts/basic/fixdep
delete mode 100755 scripts/kconfig/conf
diff --git a/scripts/basic/fixdep b/scripts/basic/fixdep
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.1
--
commit 16a628a25414e4cca83d7aa8574fbe22f3e8f500
Author: Kirill Tkhai ktk...@odin.com
Date: Mon May 18 12:52:09 2015 +0400
ve/devmnt:
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.1
--
commit 3c5b30b0520f4ca33608737b25aef6c45c05fb71
Author: Kirill Tkhai ktk...@odin.com
Date: Mon May 18 13:52:48 2015 +0400
ve/uts_ns:
In PCS7 cgroups are configured from user space, so there is
no longer connection from ve to device cgroup via css as
it was in PCS6. Instead we should open device cgroup explicitly.
https://jira.sw.ru/browse/PSBM-33555
Signed-off-by: Cyrill Gorcunov gorcu...@odin.com
CC: Vladimir Davydov
Knowing the portion of memory that is not used by a certain application
or memory cgroup (idle memory) can be useful for partitioning the system
efficiently, e.g. by setting memory cgroup limits appropriately.
Currently, the only means to estimate the amount of idle memory provided
by the kernel
This patch set backports
https://lkml.org/lkml/2015/5/12/449
which is required by vcmmd.
It is not yet clear if the original patch set will be accepted upstream
as is, there still may be changes. However, I hope the user API will be
preserved. If it is not, we will have to fix this in our
/proc/kpagecgroup contains a 64-bit inode number of the memory cgroup
each page is charged to, indexed by PFN. Having this information is
useful for estimating a cgroup working set size.
The file is present if CONFIG_PROC_PAGE_MONITOR CONFIG_MEMCG.
Signed-off-by: Vladimir Davydov
65 matches
Mail list logo