[Devel] [PATCH RHEL7 COMMIT] ms/percpu-refcount: implement percpu_ref_cancel_init()

2015-08-28 Thread Konstantin Khorenko
The commit is pushed to branch-rh7-3.10.0-229.7.2-ovz and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-229.7.2.vz7.6.3 -- commit 0873bd8f500347f34f06ddad0fbf024df91f8add Author: Vladimir Davydov vdavy...@parallels.com Date: Fri Aug 28 14:49:24 2015 +0400

[Devel] [PATCH RHEL7 COMMIT] ms/cgroup: split cgroup destruction into two steps

2015-08-28 Thread Konstantin Khorenko
The commit is pushed to branch-rh7-3.10.0-229.7.2-ovz and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-229.7.2.vz7.6.3 -- commit 33f3496e5d1342b4497058d017261d3b3fde0fe1 Author: Vladimir Davydov vdavy...@parallels.com Date: Fri Aug 28 14:49:26 2015 +0400

Re: [Devel] [RFC rh7 v5] ve/tty: vt -- Implement per VE support for console and terminals

2015-08-28 Thread Vladimir Davydov
On Thu, Aug 27, 2015 at 10:24:15PM +0300, Cyrill Gorcunov wrote: On Thu, Aug 27, 2015 at 07:11:28PM +0300, Vladimir Davydov wrote: Hmm, checkpatch still has max_line_length set to 80. Could you please share a link to this agreement? fine. Wonder, do you really still sit on 80 chars

[Devel] [PATCH RHEL7 COMMIT] ms/percpu-refcount: Don't use silly cmpxchg()

2015-08-28 Thread Konstantin Khorenko
The commit is pushed to branch-rh7-3.10.0-229.7.2-ovz and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-229.7.2.vz7.6.3 -- commit 337bb797aa4aa5eca030d634d0a9874290511db5 Author: Vladimir Davydov vdavy...@parallels.com Date: Fri Aug 28 14:49:21 2015 +0400

[Devel] [PATCH RHEL7 COMMIT] ms/cgroup: reorder the operations in cgroup_destroy_locked()

2015-08-28 Thread Konstantin Khorenko
The commit is pushed to branch-rh7-3.10.0-229.7.2-ovz and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-229.7.2.vz7.6.3 -- commit ce835adec25190f76a26cc97f1a38aadc93a4957 Author: Vladimir Davydov vdavy...@parallels.com Date: Fri Aug 28 14:49:25 2015 +0400

[Devel] [PATCH RHEL7 COMMIT] ve/devpts: Revert 2c27d20125f5

2015-08-28 Thread Konstantin Khorenko
The commit is pushed to branch-rh7-3.10.0-229.7.2-ovz and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-229.7.2.vz7.6.3 -- commit 99a71c6ceb41b6c8256620c4db844f7395f2a2c9 Author: Cyrill Gorcunov gorcu...@gmail.com Date: Fri Aug 28 14:14:08 2015 +0400

[Devel] [PATCH RHEL7 COMMIT] ms/percpu-refcount: implement percpu_tryget() along with percpu_ref_kill_and_confirm()

2015-08-28 Thread Konstantin Khorenko
The commit is pushed to branch-rh7-3.10.0-229.7.2-ovz and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-229.7.2.vz7.6.3 -- commit 4149fa7beae723cd745672c749ed0a94f7f672a4 Author: Vladimir Davydov vdavy...@parallels.com Date: Fri Aug 28 14:49:24 2015 +0400

[Devel] [PATCH RHEL7 COMMIT] ms/percpu-refcount: add __must_check to percpu_ref_init() and don't use ACCESS_ONCE() in percpu_ref_kill_rcu()

2015-08-28 Thread Konstantin Khorenko
The commit is pushed to branch-rh7-3.10.0-229.7.2-ovz and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-229.7.2.vz7.6.3 -- commit 82f6802b3f09878172024c57ed12cf2da92cccd3 Author: Vladimir Davydov vdavy...@parallels.com Date: Fri Aug 28 14:49:23 2015 +0400

[Devel] [PATCH RHEL7 COMMIT] ms/percpu: implement generic percpu refcounting

2015-08-28 Thread Konstantin Khorenko
The commit is pushed to branch-rh7-3.10.0-229.7.2-ovz and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-229.7.2.vz7.6.3 -- commit b5ec5570459334e56491e564b567cc5bed16181e Author: Vladimir Davydov vdavy...@parallels.com Date: Fri Aug 28 14:49:21 2015 +0400

[Devel] [PATCH RHEL7 COMMIT] ms/memcg: issue memory.high reclaim after refilling percpu stock

2015-08-28 Thread Konstantin Khorenko
The commit is pushed to branch-rh7-3.10.0-229.7.2-ovz and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-229.7.2.vz7.6.3 -- commit c315808e33a89086d0dac4624c1fa6f4fe1f8051 Author: Vladimir Davydov vdavy...@parallels.com Date: Fri Aug 28 14:22:20 2015 +0400

[Devel] [PATCH RHEL7 COMMIT] ve/vznetstat: Fix potential exit race

2015-08-28 Thread Konstantin Khorenko
The commit is pushed to branch-rh7-3.10.0-229.7.2-ovz and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-229.7.2.vz7.6.3 -- commit 9a440f22380933dd3547de7d83c553924c6ce284 Author: Cyrill Gorcunov gorcu...@virtuozzo.com Date: Fri Aug 28 14:31:18 2015 +0400

[Devel] [PATCH RHEL7 COMMIT] ms/percpu-refcount: use RCU-sched insted of normal RCU

2015-08-28 Thread Konstantin Khorenko
The commit is pushed to branch-rh7-3.10.0-229.7.2-ovz and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-229.7.2.vz7.6.3 -- commit 932bf29b63b1e7c74669a8847d7c69cc8b8ba919 Author: Vladimir Davydov vdavy...@parallels.com Date: Fri Aug 28 14:49:25 2015 +0400

[Devel] [PATCH RHEL7 COMMIT] ms/percpu-refcount: cosmetic updates

2015-08-28 Thread Konstantin Khorenko
The commit is pushed to branch-rh7-3.10.0-229.7.2-ovz and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-229.7.2.vz7.6.3 -- commit d6bfd7b559fdbe649d00c272895cb26996d1ee1c Author: Vladimir Davydov vdavy...@parallels.com Date: Fri Aug 28 14:49:22 2015 +0400

Re: [Devel] [RFC rh7 v5] ve/tty: vt -- Implement per VE support for console and terminals

2015-08-28 Thread Cyrill Gorcunov
On Fri, Aug 28, 2015 at 11:12:39AM +0300, Vladimir Davydov wrote: nb: you know, moving patches from mainline (slave lock) seems to be not that simple, they introduced own new lock class for that. at moment i think how to modify our vtty code without mangling general tty code. I'd

[Devel] [PATCH RHEL7 COMMIT] ploop: dio_fastmap() must refresh bvec_merge_data

2015-08-28 Thread Konstantin Khorenko
The commit is pushed to branch-rh7-3.10.0-229.7.2-ovz and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-229.7.2.vz7.6.3 -- commit fc65c834967a14d37ef23348cec6528d18b0a169 Author: Maxim Patlasov mpatla...@openvz.org Date: Fri Aug 28 14:18:37 2015 +0400

[Devel] [PATCH RHEL7 COMMIT] ms/percpu-refcount: consistently use plain (non-sched) RCU

2015-08-28 Thread Konstantin Khorenko
The commit is pushed to branch-rh7-3.10.0-229.7.2-ovz and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-229.7.2.vz7.6.3 -- commit 41721ced765e1156651d31c8b9deb0111340e984 Author: Vladimir Davydov vdavy...@parallels.com Date: Fri Aug 28 14:49:22 2015 +0400

[Devel] [PATCH RHEL7 COMMIT] ms/cgroup: use percpu refcnt for cgroup_subsys_states

2015-08-28 Thread Konstantin Khorenko
The commit is pushed to branch-rh7-3.10.0-229.7.2-ovz and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-229.7.2.vz7.6.3 -- commit b1753091f010a49bcd0a89aa23306ac816302f9c Author: Vladimir Davydov vdavy...@parallels.com Date: Fri Aug 28 14:49:27 2015 +0400

[Devel] [PATCH RHEL7 COMMIT] ve/devtmpfs: lightweight virtualization

2015-08-28 Thread Konstantin Khorenko
The commit is pushed to branch-rh7-3.10.0-229.7.2-ovz and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-229.7.2.vz7.6.3 -- commit 22255fb606cfd53fb98b11c62b854c0de5a4c713 Author: Vladimir Davydov vdavy...@parallels.com Date: Fri Aug 28 16:10:59 2015 +0400

[Devel] [PATCH RHEL7 COMMIT] ve/binfmt_misc: do not use sb-s_fs_info

2015-08-28 Thread Konstantin Khorenko
The commit is pushed to branch-rh7-3.10.0-229.7.2-ovz and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-229.7.2.vz7.6.3 -- commit 17dd96483ff558d44c98c3f8bcb04a86aca843a5 Author: Vladimir Davydov vdavy...@parallels.com Date: Fri Aug 28 16:42:43 2015 +0400

[Devel] [PATCH RHEL7 COMMIT] Revert fs: add data pointer to mount_ns()

2015-08-28 Thread Konstantin Khorenko
The commit is pushed to branch-rh7-3.10.0-229.7.2-ovz and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-229.7.2.vz7.6.3 -- commit 8d9d5a10d874b4d9f66f1af3fdcabbe9aee396f2 Author: Vladimir Davydov vdavy...@parallels.com Date: Fri Aug 28 16:10:58 2015 +0400

[Devel] [PATCH RHEL7 COMMIT] Revert VE/VFS: use sb-s_ns member to store namespace for mount_ns() calls

2015-08-28 Thread Konstantin Khorenko
The commit is pushed to branch-rh7-3.10.0-229.7.2-ovz and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-229.7.2.vz7.6.3 -- commit 9b72ce16b191d84da03da83d5ccec29de8854686 Author: Vladimir Davydov vdavy...@parallels.com Date: Fri Aug 28 16:42:41 2015 +0400

[Devel] [PATCH RHEL7 COMMIT] ve/binfmt_misc: do not use s_ns

2015-08-28 Thread Konstantin Khorenko
The commit is pushed to branch-rh7-3.10.0-229.7.2-ovz and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-229.7.2.vz7.6.3 -- commit a98a90ea907f522f1ae6ff0e1c6e78a39ade2494 Author: Vladimir Davydov vdavy...@parallels.com Date: Fri Aug 28 16:42:44 2015 +0400

[Devel] [PATCH RHEL7 COMMIT] Revert devtmpfs: containerize it with new obj ns operation

2015-08-28 Thread Konstantin Khorenko
The commit is pushed to branch-rh7-3.10.0-229.7.2-ovz and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-229.7.2.vz7.6.3 -- commit 968c8efb7981f87f8bc0616741edb6c0bc556d76 Author: Vladimir Davydov vdavy...@parallels.com Date: Fri Aug 28 16:10:57 2015 +0400

Re: [Devel] [PATCH 2/3] ve: revise permissions to allow mount smth

2015-08-28 Thread Vladimir Davydov
On Fri, Aug 28, 2015 at 05:20:02PM +0400, Andrew Vagin wrote: Return back to the behavior of the upstream kernel. Currently we use mount namespaces and need nothing special here. Signed-off-by: Andrew Vagin ava...@openvz.org Reviewed-by: Vladimir Davydov vdavy...@parallels.com It's worth

[Devel] [PATCH RHEL7 COMMIT] Revert devtmpfs: per-VE mounts introduced

2015-08-28 Thread Konstantin Khorenko
The commit is pushed to branch-rh7-3.10.0-229.7.2-ovz and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-229.7.2.vz7.6.3 -- commit 3fd8ef28e629c3ec00144f83249628244903876d Author: Vladimir Davydov vdavy...@parallels.com Date: Fri Aug 28 16:10:58 2015 +0400

[Devel] [PATCH RHEL7 COMMIT] ve/binfmt_misc: destroy all nodes on ve stop

2015-08-28 Thread Konstantin Khorenko
The commit is pushed to branch-rh7-3.10.0-229.7.2-ovz and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-229.7.2.vz7.6.3 -- commit 0ea1f95684407db5892760b5a58a24003571f043 Author: Vladimir Davydov vdavy...@parallels.com Date: Fri Aug 28 16:42:44 2015 +0400

[Devel] [PATCH RHEL7 COMMIT] Revert ve/devtmpfs: Create required devices on container startup

2015-08-28 Thread Konstantin Khorenko
The commit is pushed to branch-rh7-3.10.0-229.7.2-ovz and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-229.7.2.vz7.6.3 -- commit 0cdfb581770d883cea99f30e49e3de1583ab6fc1 Author: Vladimir Davydov vdavy...@parallels.com Date: Fri Aug 28 16:10:56 2015 +0400

Re: [Devel] [PATCH 1/3] cred: add ve_capable to check capabilities relative to the current VE

2015-08-28 Thread Vladimir Davydov
On Fri, Aug 28, 2015 at 05:20:01PM +0400, Andrew Vagin wrote: +bool ve_capable(int cap) +{ + return ns_capable(get_exec_env()-init_cred-user_ns, cap); +} init_cred is set in ve_grab_context, which means that if a task occasionally uses ve_capable() before writing START to ve.state, the

[Devel] [PATCH RHEL7 COMMIT] Revert ve/devtmpfs: pass proper options string

2015-08-28 Thread Konstantin Khorenko
The commit is pushed to branch-rh7-3.10.0-229.7.2-ovz and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-229.7.2.vz7.6.3 -- commit 0ffbb29c45f5ee709f4fa5dfa52f883cbe4a70f1 Author: Vladimir Davydov vdavy...@parallels.com Date: Fri Aug 28 16:10:57 2015 +0400

[Devel] [PATCH 2/3] ve: revise permissions to allow mount smth

2015-08-28 Thread Andrew Vagin
Return back to the behavior of the upstream kernel. Currently we use mount namespaces and need nothing special here. Signed-off-by: Andrew Vagin ava...@openvz.org --- fs/namespace.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/fs/namespace.c b/fs/namespace.c index

[Devel] [PATCH RHEL7 COMMIT] Revert nfsd/sunrpc/mqueue: use sb-s_ns instead of data in fill_super

2015-08-28 Thread Konstantin Khorenko
The commit is pushed to branch-rh7-3.10.0-229.7.2-ovz and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-229.7.2.vz7.6.3 -- commit d0856fdc15e0b49540c454b42a11ddf2af70cda6 Author: Vladimir Davydov vdavy...@parallels.com Date: Fri Aug 28 16:42:43 2015 +0400

[Devel] [PATCH 1/3] cred: add ve_capable to check capabilities relative to the current VE

2015-08-28 Thread Andrew Vagin
We want to allow a few operations in VE. Currently we use nsown_capable, but it's wrong, because in this case we allow these operations in any user namespace. Signed-off-by: Andrew Vagin ava...@openvz.org --- fs/autofs4/root.c |6 ++ fs/ioprio.c|2 +-

[Devel] [PATCH 3/3] ve: remove ns_capable(CAP_VE.*)

2015-08-28 Thread Andrew Vagin
If we use user namespaces, we don't need to have special capabilities. Signed-off-by: Andrew Vagin ava...@openvz.org --- fs/proc/root.c |3 +-- ipc/mqueue.c|3 +-- ipc/util.c |2 +- kernel/nsproxy.c|6

[Devel] [PATCH RHEL7 COMMIT] Revert ve/pty: containerize Unix98 pty drivers

2015-08-28 Thread Konstantin Khorenko
The commit is pushed to branch-rh7-3.10.0-229.7.2-ovz and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-229.7.2.vz7.6.3 -- commit 1ff0db51541d3bf04c228025cb48de284adb78b2 Author: Vladimir Davydov vdavy...@parallels.com Date: Fri Aug 28 18:31:49 2015 +0400

[Devel] [PATCH RHEL7 COMMIT] Revert pty: split Unix98 init routines

2015-08-28 Thread Konstantin Khorenko
The commit is pushed to branch-rh7-3.10.0-229.7.2-ovz and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-229.7.2.vz7.6.3 -- commit ee5a5380520330fedde1a323d5ca3cb5cad20b4f Author: Vladimir Davydov vdavy...@parallels.com Date: Fri Aug 28 18:32:03 2015 +0400

[Devel] [PATCH RHEL7 COMMIT] ve/radix-tree: do not account radix_tree_nodes to memcg

2015-08-28 Thread Konstantin Khorenko
The commit is pushed to branch-rh7-3.10.0-229.7.2-ovz and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-229.7.2.vz7.6.3 -- commit d4b302e64d3523bddf4e300d0a975a7717ac784b Author: Vladimir Davydov vdavy...@parallels.com Date: Fri Aug 28 18:44:29 2015 +0400

[Devel] [PATCH RHEL7 COMMIT] ms/mm/vmscan: use proportional scanning during direct reclaim and full scan at DEF_PRIORITY

2015-08-28 Thread Konstantin Khorenko
The commit is pushed to branch-rh7-3.10.0-229.7.2-ovz and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-229.7.2.vz7.6.3 -- commit 0845747ebe2654d1e6e56a0425b21e599a47f4f6 Author: Mel Gorman mgor...@suse.de Date: Fri Aug 28 18:50:29 2015 +0400 ms/mm/vmscan:

[Devel] [PATCH RHEL7 COMMIT] memcg: fix swap_max calculation for nested cgroups

2015-08-28 Thread Konstantin Khorenko
The commit is pushed to branch-rh7-3.10.0-229.7.2-ovz and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-229.7.2.vz7.6.3 -- commit 338ce9637d706f2bf01ef9153b78953ff65c2efb Author: Vladimir Davydov vdavy...@parallels.com Date: Fri Aug 28 18:36:03 2015 +0400

[Devel] [PATCH rh7] Revert diff-writeback-throttle-writer-when-local-BDI-threshold-is-hit bits

2015-08-28 Thread Vladimir Davydov
This was brought by the initial commit 2a8b5de95918, but it is incomplete - the following hunk patching balance_dirty_pages was lost: diff --git a/mm/page-writeback.c b/mm/page-writeback.c index 003b68e..a58795c 100644 --- a/mm/page-writeback.c +++ b/mm/page-writeback.c @@ -546,7 +546,8 @@

Re: [Devel] [PATCH 3/3] ve: remove ns_capable(CAP_VE.*)

2015-08-28 Thread Vladimir Davydov
On Fri, Aug 28, 2015 at 05:20:03PM +0400, Andrew Vagin wrote: If we use user namespaces, we don't need to have special capabilities. Signed-off-by: Andrew Vagin ava...@openvz.org Lovely :-) Although it'd be even better if you reverted all the patches tampering capability checks one-by-one so

[Devel] [PATCH RHEL7 COMMIT] Revert ve/pty: containerize Unix98 driver

2015-08-28 Thread Konstantin Khorenko
The commit is pushed to branch-rh7-3.10.0-229.7.2-ovz and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-229.7.2.vz7.6.3 -- commit fd19fc2c70ae5da0a0902dea96213f52dc6afbfd Author: Vladimir Davydov vdavy...@parallels.com Date: Fri Aug 28 18:31:56 2015 +0400

[Devel] [PATCH 2/2] fs: allow to mount devtmpfs in a non-root userns (v2)

2015-08-28 Thread Andrew Vagin
devtmpfs is virtualized, so it has to be secure. v2: fix return code Signed-off-by: Andrew Vagin ava...@openvz.org --- drivers/base/devtmpfs.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/drivers/base/devtmpfs.c b/drivers/base/devtmpfs.c index c28e42c..f21e292

[Devel] [PATCH RHEL7 COMMIT] ve/pty: create ptmx device per ve namespace

2015-08-28 Thread Konstantin Khorenko
The commit is pushed to branch-rh7-3.10.0-229.7.2-ovz and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-229.7.2.vz7.6.3 -- commit 953017eb9e8237859f63d7b0a2c816b7e7e5a615 Author: Vladimir Davydov vdavy...@parallels.com Date: Fri Aug 28 18:32:16 2015 +0400

[Devel] [PATCH RHEL7 COMMIT] ms/mm/vmscan: never isolate more pages than necessary

2015-08-28 Thread Konstantin Khorenko
The commit is pushed to branch-rh7-3.10.0-229.7.2-ovz and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-229.7.2.vz7.6.3 -- commit 703ed09d7ee4d9af6cec3c4970842f282176f5e0 Author: Vladimir Davydov vdavy...@parallels.com Date: Fri Aug 28 18:50:33 2015 +0400

[Devel] [PATCH RHEL7 COMMIT] ve/net: Fix vlan NETIF_F_VIRTUAL feature initialization

2015-08-28 Thread Konstantin Khorenko
The commit is pushed to branch-rh7-3.10.0-229.7.2-ovz and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-229.7.2.vz7.6.3 -- commit 3e11f3abe191cb393cd8c025913e6a9b739fcabe Author: Kirill Tkhai ktk...@odin.com Date: Sat Aug 29 02:30:46 2015 +0400 ve/net: Fix