Re: [Devel] [PATCH vz7] fuse: optimize writepages search

2017-04-07 Thread Konstantin Khorenko
Kirill, please review the patch. -- Best regards, Konstantin Khorenko, Virtuozzo Linux Kernel Team On 04/07/2017 06:35 AM, Maxim Patlasov wrote: The patch re-works fi->writepages replacing list with rb-tree. This improves performance because kernel fuse iterates through fi->writepages for each

[Devel] [PATCH RHEL7 COMMIT] vedev: drop obsoleted vedev.c - old way to provide device access into a CT

2017-04-07 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.10.2.vz7.29.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.10.2.vz7.29.13 --> commit 9dd9ead624da71cc0c0ab33ee284d3c8b742b1b7 Author: Konstantin Khorenko Date: Fri Apr 7 14:30:23 2017 +0400 vedev

[Devel] [PATCH rh7] mm/tcache: close race between attach and invalidate page

2017-04-07 Thread Andrey Ryabinin
Currently the following race between page attach and invalidate page could result in crashes: CPU1 CPU2 tcache_cleancache_put_page(); tcache_attach_page(); tcache_page_tree_replace(); tcache_

[Devel] [PATCH RHEL7 COMMIT] mm/tcache: close race between attach and invalidate page

2017-04-07 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.10.2.vz7.29.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.10.2.vz7.29.13 --> commit 7551b5c4ae61988369226c24b83717f0d3ef5aef Author: Andrey Ryabinin Date: Fri Apr 7 16:23:07 2017 +0400 mm/tcache

Re: [Devel] [PATCH RHEL7 COMMIT] mm/tcache: close race between attach and invalidate page

2017-04-07 Thread Konstantin Khorenko
Please consider to create a ReadyKernel patch for it. https://readykernel.com/ -- Best regards, Konstantin Khorenko, Virtuozzo Linux Kernel Team On 04/07/2017 03:23 PM, Konstantin Khorenko wrote: The commit is pushed to "branch-rh7-3.10.0-514.10.2.vz7.29.x-ovz" and will appear at https://src

Re: [Devel] [vzlin-dev] [PATCH vz7] fuse: optimize writepages search

2017-04-07 Thread Kirill Tkhai
Everything looks good for me except two moments. Please see comments below. On 07.04.2017 06:35, Maxim Patlasov wrote: > The patch re-works fi->writepages replacing list with rb-tree. > This improves performance because kernel fuse iterates through > fi->writepages for each writeback page and typi

[Devel] [PATCH vz7] fuse: writepages search nits

2017-04-07 Thread Maxim Patlasov
The patch removes redundant checks in rb-tree search. Thanks to Kirill Tkhai for pointing out. https://jira.sw.ru/browse/PSBM-59254 Signed-off-by: Maxim Patlasov --- fs/fuse/file.c |9 - 1 file changed, 9 deletions(-) diff --git a/fs/fuse/file.c b/fs/fuse/file.c index eab5030..4f62

Re: [Devel] [vzlin-dev] [PATCH vz7] fuse: optimize writepages search

2017-04-07 Thread Maxim Patlasov
Thank you for review, Kirill! On 04/07/2017 07:28 AM, Kirill Tkhai wrote: Everything looks good for me except two moments. Please see comments below. On 07.04.2017 06:35, Maxim Patlasov wrote: The patch re-works fi->writepages replacing list with rb-tree. This improves performance because ker

Re: [Devel] [PATCH vz7] fuse: writepages search nits

2017-04-07 Thread Kirill Tkhai
On 07.04.2017 20:59, Maxim Patlasov wrote: > The patch removes redundant checks in rb-tree search. Thanks to > Kirill Tkhai for pointing out. > > https://jira.sw.ru/browse/PSBM-59254 > > Signed-off-by: Maxim Patlasov Reviewed-by: Kirill Tkhai > --- > fs/fuse/file.c |9 - > 1 file

Re: [Devel] [PATCH vz7] fuse: optimize writepages search

2017-04-07 Thread Kirill Tkhai
Reviewed-by: Kirill Tkhai On 07.04.2017 13:26, Konstantin Khorenko wrote: > Kirill, please review the patch. > > -- > Best regards, > > Konstantin Khorenko, > Virtuozzo Linux Kernel Team > > On 04/07/2017 06:35 AM, Maxim Patlasov wrote: >> The patch re-works fi->writepages replacing list with