[Devel] [PATCH vz7] net/vhost: Replace kmalloc with kvmalloc for order>=3

2018-02-27 Thread Oleg Babin
Currently we allocate more than eight pages of memory in vhost_net_set_ubuf_info() function and we do not need them to be physically contiguous, so it is feasible to replace a call to kmalloc() with a call to kvmalloc(). https://jira.sw.ru/browse/PSBM-81803 Signed-off-by: Oleg Babin --- drivers/

Re: [Devel] [PATCH vz7] net/vhost: Replace kmalloc with kvmalloc for order>=3

2018-02-27 Thread Andrey Ryabinin
On 02/27/2018 01:27 AM, Andrei Vagin wrote: > On Mon, Feb 26, 2018 at 03:29:51PM +0300, Oleg Babin wrote: >> Currently we allocate more than eight pages of memory in >> vhost_net_set_ubuf_info() function and we do not need >> them to be physically contiguous, so it is feasible to >> replace a cal

[Devel] [PATCH RHEL7 COMMIT] mm/memcg: fix overcharging in cgroup try_charge() for !cache_charge

2018-02-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-693.17.1.vz7.43.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-693.17.1.vz7.43.9 --> commit e285be97ce1f2c75aaf2ec98eaee53fbcbaa560c Author: Andrey Ryabinin Date: Tue Feb 27 13:28:49 2018 +0300 mm/memcg:

[Devel] [PATCH RHEL7 COMMIT] mm/memcg: Don't charge anon pages as cache

2018-02-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-693.17.1.vz7.43.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-693.17.1.vz7.43.9 --> commit 247e22e99bec67d769d5f84a5b737eacefaa4806 Author: Andrey Ryabinin Date: Tue Feb 27 13:28:48 2018 +0300 mm/memcg:

Re: [Devel] [PATCH vz7] net/vhost: Replace kmalloc with kvmalloc for order>=3

2018-02-27 Thread Andrey Ryabinin
On 02/27/2018 11:12 AM, Oleg Babin wrote: > Currently we allocate more than eight pages of memory in > vhost_net_set_ubuf_info() function and we do not need > them to be physically contiguous, so it is feasible to > replace a call to kmalloc() with a call to kvmalloc(). > > https://jira.sw.ru/brow

[Devel] [PATCH RHEL7 COMMIT] net/vhost: Replace kmalloc with kvmalloc for order>=3

2018-02-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-693.17.1.vz7.45.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-693.17.1.vz7.45.4 --> commit 0cd748d35c100b1bc6f9e7fffa44a7d0f70a1728 Author: Oleg Babin Date: Tue Feb 27 13:57:22 2018 +0300 net/vhost: Rep

[Devel] [PATCH RHEL7 COMMIT] fuse kio pcs: implement logging and prometheus statistics collection v2

2018-02-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-693.17.1.vz7.45.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-693.17.1.vz7.45.4 --> commit d457c1a005433fd84fa4552d4abf09c0ef11adb0 Author: Dmitry Monakhov Date: Tue Feb 27 14:09:42 2018 +0300 fuse kio

[Devel] [PATCH RHEL7 COMMIT] ploop: kaio_io_page fix kreq leak after error

2018-02-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-693.17.1.vz7.45.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-693.17.1.vz7.45.4 --> commit cae2d7c888f9f59ce3d782d0fc5ea58b96a566c6 Author: Dmitry Monakhov Date: Tue Feb 27 14:09:43 2018 +0300 ploop: ka

[Devel] [PATCH RHEL7 COMMIT] config.OpenVZ.minimal: disable CONFIG_X86_DECODER_SELFTEST

2018-02-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-693.17.1.vz7.45.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-693.17.1.vz7.45.4 --> commit a817fdbed90d59e2b54385c6e59ed9fbff2d1ce1 Author: Dmitry Monakhov Date: Tue Feb 27 14:22:37 2018 +0300 config.Op

[Devel] [PATCH RHEL7 COMMIT] sched/ve: Use cfs_rq::h_nr_running to count loadavg

2018-02-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-693.17.1.vz7.45.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-693.17.1.vz7.45.4 --> commit 9bdbf2ea8a27b0a9fd64b0408082c3ca26fe60a8 Author: Kirill Tkhai Date: Tue Feb 27 15:28:30 2018 +0300 sched/ve: Us

[Devel] [PATCH RHEL7 COMMIT] sched/ve: Link VE root cpu cgroups in separate list

2018-02-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-693.17.1.vz7.45.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-693.17.1.vz7.45.4 --> commit 482939dcd6ad7c03a6018cec55cee542ae8e6939 Author: Kirill Tkhai Date: Tue Feb 27 15:28:29 2018 +0300 sched/ve: Li

[Devel] [PATCH RHEL7 COMMIT] sched/ve: Iterate only VE root cpu cgroups to count loadavg

2018-02-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-693.17.1.vz7.45.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-693.17.1.vz7.45.4 --> commit d1ad42524d70880b2402979f5051e329d79f5eed Author: Kirill Tkhai Date: Tue Feb 27 15:28:30 2018 +0300 sched/ve: It

[Devel] [PATCH RHEL7 COMMIT] sched/ve: Do not show loadavg in child VE cpu cgroups

2018-02-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-693.17.1.vz7.45.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-693.17.1.vz7.45.4 --> commit e0199c52bdf40d8856ec8ff2ae664cbafee872fb Author: Kirill Tkhai Date: Tue Feb 27 15:28:29 2018 +0300 sched/ve: Do

[Devel] [PATCH RHEL7 COMMIT] ve/cgroup: Get correct VE init css when ve init_task is moved to child cgroup

2018-02-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-693.17.1.vz7.45.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-693.17.1.vz7.45.4 --> commit 52d17a28f60d446da2159d486fbbedc197061a91 Author: Kirill Tkhai Date: Tue Feb 27 15:28:28 2018 +0300 ve/cgroup: G

[Devel] [PATCH RHEL7 COMMIT] ploop: Discard bios of size not aligned at 512 bytes

2018-02-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-693.17.1.vz7.45.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-693.17.1.vz7.45.4 --> commit 50701fc25402b4aa585cb1dd8e7ac7423c57bf07 Author: Kirill Tkhai Date: Tue Feb 27 15:34:12 2018 +0300 ploop: Disca

Re: [Devel] [PATCH RH7 0/3] fix crash on module reference leak

2018-02-27 Thread Kirill Tkhai
On 26.02.2018 13:01, Pavel Tikhomirov wrote: > That's how the race happens: > > mutex_lock(&module_mutex); > try_stop_module -> stop_machine -> __stop_machine -> stop_cpus -> > __stop_cpus->[for_each_cpu]cpu_stop_queue_work ... -> __try_stop_module > { > if (module_refcount >

[Devel] [PATCH RHEL7 COMMIT] fuse kio_pcs: ignore special inodes

2018-02-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-693.17.1.vz7.45.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-693.17.1.vz7.45.5 --> commit 6f8bb26a2e103b8a93ae1eefb3a094e486472d03 Author: Dmitry Monakhov Date: Tue Feb 27 18:29:11 2018 +0300 fuse kio_

Re: [Devel] [PATCH vz7] net/vhost: Replace kmalloc with kvmalloc for order>=3

2018-02-27 Thread Andrei Vagin
On Tue, Feb 27, 2018 at 11:27:31AM +0300, Andrey Ryabinin wrote: > > > On 02/27/2018 01:27 AM, Andrei Vagin wrote: > > On Mon, Feb 26, 2018 at 03:29:51PM +0300, Oleg Babin wrote: > >> Currently we allocate more than eight pages of memory in > >> vhost_net_set_ubuf_info() function and we do not ne

[Devel] [PATCH] ploop: move discard_* attributes in the tune_attributes group

2018-02-27 Thread Andrei Vagin
state_attributes contains only readonly attrebutes, all read-write attributes are in tune_attributes. Reported-by: Konstantin Khorenko --- drivers/block/ploop/sysfs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/block/ploop/sysfs.c b/drivers/block/ploop/sysfs

Re: [Devel] ***SPAM*** [PATCH 3/4] ploop: allow to set discard granularity and alignment attributes

2018-02-27 Thread Andrei Vagin
On Fri, Feb 16, 2018 at 11:11:54AM +0300, Konstantin Khorenko wrote: > On 02/15/2018 04:36 AM, Andrei Vagin wrote: > > > > Different backing stores can have different values for these parameters. > > > > Signed-off-by: Andrei Vagin > > --- > > drivers/block/ploop/sysfs.c | 48 > > +