[Devel] [PATCH rh7 v3] mm/vmscan: shrink tcache, tswap upfront everything else.

2018-10-18 Thread Andrey Ryabinin
We don't want to evict page cache or anon to swap while there are a lot of reclaimable pages in tcache/tswap. Reclaim them first, and only after that go to traditional reclaim https://jira.sw.ru/browse/PSBM-89403 Signed-off-by: Andrey Ryabinin --- mm/internal.h | 32

[Devel] [PATCH rh7 v2] mm/vmscan: shrink tcache, tswap upfront everything else.

2018-10-18 Thread Andrey Ryabinin
We don't want to evict page cache or anon to swap while there are a lot of reclaimable pages in tcache/tswap. Reclaim them first, and only after that go to traditional reclaim https://jira.sw.ru/browse/PSBM-89403 Signed-off-by: Andrey Ryabinin --- mm/internal.h | 32

[Devel] [PATCH RHEL7 COMMIT] net: fix netns accounting on error handling

2018-10-18 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-862.14.4.vz7.72.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-862.14.4.vz7.72.11 --> commit a31646a53bd3c06fa9444c2af58ceff30025d10b Author: Vasily Averin Date: Thu Oct 18 16:24:02 2018 +0300 net: fix

[Devel] [PATCH RHEL7 COMMIT] cbt: bitmap corruption caused by ipi

2018-10-18 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-862.14.4.vz7.72.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-862.14.4.vz7.72.11 --> commit 0a074588bfb8663fe52216edf9052181d38880b0 Author: Vasily Averin Date: Thu Oct 18 16:21:29 2018 +0300 cbt:

[Devel] [PATCH RHEL7 COMMIT] cbt: selfdeadlock in __blk_cbt_set()

2018-10-18 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-862.14.4.vz7.72.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-862.14.4.vz7.72.11 --> commit 1f18342799a428b1f9a7c1b19b3de93657aed059 Author: Vasily Averin Date: Thu Oct 18 16:21:30 2018 +0300 cbt:

[Devel] [PATCH RHEL7 COMMIT] mm/tcache: don't insert empty reclaim node

2018-10-18 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-862.14.4.vz7.72.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-862.14.4.vz7.72.11 --> commit f1d2d2dc308cee294aff318ad62892fcbccb434f Author: Andrey Ryabinin Date: Thu Oct 18 16:17:34 2018 +0300

[Devel] [PATCH RHEL7 COMMIT] mm/tcache: rebalance tree if isolation failed

2018-10-18 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-862.14.4.vz7.72.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-862.14.4.vz7.72.11 --> commit c322a6f3894906a4761318ff63e4744b5439 Author: Andrey Ryabinin Date: Thu Oct 18 16:17:35 2018 +0300

Re: [Devel] [PATCH rh7 2/3] mm/tcache: rebalance tree is isolation failed.

2018-10-18 Thread Kirill Tkhai
On 18.10.2018 12:02, Andrey Ryabinin wrote: > tcache_lru_isolate() doesn't rebalance reclaim tree if isolation > failed. If the first pool in tree is empty, without rebalancing it > may stay first indefinitely long preventing reclaim. > > https://jira.sw.ru/browse/PSBM-89403 > Signed-off-by:

[Devel] [PATCH RHEL7 COMMIT] fuse kio: Fix deadlock at pcs_fuse_submit() error path

2018-10-18 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-862.14.4.vz7.72.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-862.14.4.vz7.72.11 --> commit e95c5e36d1d905e1cdcae309110504c6dfb5d6b9 Author: Kirill Tkhai Date: Thu Oct 18 15:08:15 2018 +0300 fuse kio:

[Devel] [PATCH RHEL7 COMMIT] fuse kio: Stop self-abuse of rpc counter in rpc_queue_work()

2018-10-18 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-862.14.4.vz7.72.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-862.14.4.vz7.72.11 --> commit ccd016fb513cd6ec799953585da61ba53b42d075 Author: Kirill Tkhai Date: Thu Oct 18 15:01:33 2018 +0300 fuse kio:

[Devel] [PATCH RHEL7 COMMIT] fs/fuse kio_pcs: flush rpc work inside pcs_rpc_destroy()

2018-10-18 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-862.14.4.vz7.72.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-862.14.4.vz7.72.11 --> commit 99b1e7df9c857f9f6eaea632491641445bf7c5f1 Author: Pavel Butsykin Date: Thu Oct 18 15:01:34 2018 +0300 fs/fuse

[Devel] [PATCH RHEL7 COMMIT] fuse kio: Move abort & destroy block up in pcs_rpc_send()

2018-10-18 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-862.14.4.vz7.72.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-862.14.4.vz7.72.11 --> commit 59c9cec735685f77d2fcc6b23face0db8f25540d Author: Kirill Tkhai Date: Thu Oct 18 15:01:34 2018 +0300 fuse kio:

[Devel] [PATCH RHEL7 COMMIT] fuse kio: Check for null ep in pcs_rpc_deaccount_msg()

2018-10-18 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-862.14.4.vz7.72.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-862.14.4.vz7.72.11 --> commit f50eded8e1d0427cd2aa5b9885cde8cae60de5be Author: Kirill Tkhai Date: Thu Oct 18 15:01:33 2018 +0300 fuse kio:

[Devel] [PATCH RHEL7 COMMIT] x86,ia32: Restore 32bit personality

2018-10-18 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-862.14.4.vz7.72.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-862.14.4.vz7.72.11 --> commit f3ceff10ac103c52cadab27fb2398697d9a4e4b6 Author: Cyrill Gorcunov Date: Fri Jul 20 18:55:10 2018 +0300

[Devel] [PATCH RHEL7 COMMIT] fs/fuse kio_pcs: drop old mapping after size growth

2018-10-18 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-862.14.4.vz7.72.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-862.14.4.vz7.72.11 --> commit 02c5c75b59e403209d9bc23071cb884aff34ff60 Author: Pavel Butsykin Date: Wed Jul 25 18:40:21 2018 +0300 fs/fuse

Re: [Devel] [PATCH] fuse kio: Fix deadlock at pcs_fuse_submit() error path

2018-10-18 Thread Pavel Butsykin
On 17.10.2018 16:57, Kirill Tkhai wrote: > request_end() takes fc->lock, so we in case of error we bump > into deadlock: > > Call Trace: >[] _raw_spin_lock+0x75/0xc0 >[] spin_lock+0x18/0x1b [fuse] >[] request_end+0x265/0x72b [fuse] >[] pcs_fuse_submit+0x9fb/0xaa3 [fuse_kio_pcs] >

[Devel] [PATCH RHEL7 COMMIT] ms/mm, mempolicy: migrate_to_node should only migrate to node

2018-10-18 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-862.14.4.vz7.72.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-862.14.4.vz7.72.11 --> commit f60665481d083df340c4d332d4074d7d84a6d715 Author: David Rientjes Date: Tue Apr 14 15:46:52 2015 -0700 ms/mm,

[Devel] [PATCH RHEL7 COMMIT] ms/mm, vmscan: do not loop on too_many_isolated for ever

2018-10-18 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-862.14.4.vz7.72.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-862.14.4.vz7.72.11 --> commit a1d083f1a16ce0dc3a430046ca4e3616310c6e93 Author: Michal Hocko Date: Wed Sep 6 16:21:11 2017 -0700 ms/mm,

Re: [Devel] [PATCH] fuse kio: Fix deadlock at pcs_fuse_submit() error path

2018-10-18 Thread Pavel Butsykin
On 18.10.2018 11:55, Pavel Butsykin wrote: > On 18.10.2018 11:35, Kirill Tkhai wrote: >> On 17.10.2018 19:22, Pavel Butsykin wrote: >>> On 17.10.2018 18:43, Kirill Tkhai wrote: On 17.10.2018 18:06, Pavel Butsykin wrote: > > > On 17.10.2018 16:57, Kirill Tkhai wrote: >>

Re: [Devel] [PATCH] fuse kio: Fix deadlock at pcs_fuse_submit() error path

2018-10-18 Thread Kirill Tkhai
On 18.10.2018 11:55, Pavel Butsykin wrote: > On 18.10.2018 11:35, Kirill Tkhai wrote: >> On 17.10.2018 19:22, Pavel Butsykin wrote: >>> On 17.10.2018 18:43, Kirill Tkhai wrote: On 17.10.2018 18:06, Pavel Butsykin wrote: > > > On 17.10.2018 16:57, Kirill Tkhai wrote: >>

[Devel] [PATCH rh7 1/3] mm/tcache: don't insert empty reclaim node

2018-10-18 Thread Andrey Ryabinin
If tcache_lru_del() deletes last page from node we don't need to insert reclaim node into tree. https://jira.sw.ru/browse/PSBM-89403 Signed-off-by: Andrey Ryabinin --- mm/tcache.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mm/tcache.c b/mm/tcache.c index

[Devel] [PATCH rh7 2/3] mm/tcache: rebalance tree is isolation failed.

2018-10-18 Thread Andrey Ryabinin
tcache_lru_isolate() doesn't rebalance reclaim tree if isolation failed. If the first pool in tree is empty, without rebalancing it may stay first indefinitely long preventing reclaim. https://jira.sw.ru/browse/PSBM-89403 Signed-off-by: Andrey Ryabinin --- mm/tcache.c | 5 + 1 file changed,

[Devel] [PATCH rh7 3/3] mm/vmscan: shrink tcache, tswap upfront everything else.

2018-10-18 Thread Andrey Ryabinin
We don't want to evict page cache or anon to swap while there are a lot of reclaimable pages in tcache/tswap. Reclaim them first, and only after that go to traditional reclaim https://jira.sw.ru/browse/PSBM-89403 Signed-off-by: Andrey Ryabinin --- mm/internal.h | 14 ++ mm/tcache.c

Re: [Devel] [PATCH] fuse kio: Fix deadlock at pcs_fuse_submit() error path

2018-10-18 Thread Pavel Butsykin
On 18.10.2018 11:35, Kirill Tkhai wrote: > On 17.10.2018 19:22, Pavel Butsykin wrote: >> On 17.10.2018 18:43, Kirill Tkhai wrote: >>> On 17.10.2018 18:06, Pavel Butsykin wrote: On 17.10.2018 16:57, Kirill Tkhai wrote: > request_end() takes fc->lock, so we in case of error we

Re: [Devel] [PATCH] fuse kio: Fix deadlock at pcs_fuse_submit() error path

2018-10-18 Thread Kirill Tkhai
On 17.10.2018 19:22, Pavel Butsykin wrote: > On 17.10.2018 18:43, Kirill Tkhai wrote: >> On 17.10.2018 18:06, Pavel Butsykin wrote: >>> >>> >>> On 17.10.2018 16:57, Kirill Tkhai wrote: request_end() takes fc->lock, so we in case of error we bump into deadlock: Call Trace: