[Devel] [PATCH rh7]: fs/pipe: Use kvmalloc for pipe buffers

2018-02-13 Thread Cyrill Gorcunov
To restore big slabs of memory (more than 1G) via pipes we need pipes to be able to carry such sizes, for this sake Andrey propose to use kvmalloc calls. Looking into the code I didn't find a reason why we can't do so, thus here is a patch. https://jira.sw.ru/browse/PSBM-69201 CC: Andrey Vagin C

[Devel] [vz7.7 PATCH] x86/kvm/vmx: do not use vm-exit instruction length for fast MMIO when running nested

2018-02-13 Thread Roman Kagan
From: Vitaly Kuznetsov I was investigating an issue with seabios >= 1.10 which stopped working for nested KVM on Hyper-V. The problem appears to be in handle_ept_violation() function: when we do fast mmio we need to skip the instruction so we do kvm_skip_emulated_instruction(). This, however, dep

Re: [Devel] [vz7.7 PATCH] x86/kvm/vmx: do not use vm-exit instruction length for fast MMIO when running nested

2018-02-13 Thread Denis V. Lunev
On 02/13/2018 12:49 PM, Roman Kagan wrote: > From: Vitaly Kuznetsov > > I was investigating an issue with seabios >= 1.10 which stopped working > for nested KVM on Hyper-V. The problem appears to be in > handle_ept_violation() function: when we do fast mmio we need to skip > the instruction so we

[Devel] [PATCH rh7] configs.OpenVZ: add minimal kernel config for a KVM VM

2018-02-13 Thread Konstantin Khorenko
Add a minimal kernel config: - localmodconfig done on a KVM VM - all options are set to "=y" where possible Several modules still exist: ./Documentation/filesystems/configfs/configfs_example_macros.ko ./Documentation/filesystems/configfs/configfs_example_explicit.ko ./Documentation/connector

Re: [Devel] [PATCH rh7] configs.OpenVZ: add minimal kernel config for a KVM VM

2018-02-13 Thread Konstantin Khorenko
Guys, if you have suggestions to improve minimal config, please send patches or just tell me. -- Best regards, Konstantin Khorenko, Virtuozzo Linux Kernel Team On 02/13/2018 05:02 PM, Konstantin Khorenko wrote: Add a minimal kernel config: - localmodconfig done on a KVM VM - all options are s

[Devel] [PATCH RHEL7 COMMIT] configs.OpenVZ: add minimal kernel config for a KVM VM

2018-02-13 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.4 --> commit 146ddcc09ced567081f93b39824ea1bb8c01de7d Author: Konstantin Khorenko Date: Tue Feb 13 17:05:13 2018 +0300 confi

[Devel] [PATCH RHEL7 COMMIT] mm/memcontrol: Fix memcg swpin/swpout stats accounting

2018-02-13 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.4 --> commit 72ddcc1dac5842345925c81360cf12bec204a428 Author: Andrey Ryabinin Date: Tue Feb 13 17:09:55 2018 +0300 mm/memcon

[Devel] [PATCH rh7] ms/net: don't wait for order-3 page allocation

2018-02-13 Thread Andrey Ryabinin
From: Shaohua Li We saw excessive direct memory compaction triggered by skb_page_frag_refill. This causes performance issues and add latency. Commit 5640f7685831e0 introduces the order-3 allocation. According to the changelog, the order-3 allocation isn't a must-have but to improve performance. B

Re: [Devel] [PATCH rh7] configs.OpenVZ: add minimal kernel config for a KVM VM

2018-02-13 Thread Roman Kagan
On Tue, Feb 13, 2018 at 05:02:33PM +0300, Konstantin Khorenko wrote: > Add a minimal kernel config: > - localmodconfig done on a KVM VM > - all options are set to "=y" where possible What is it going to be use{d,ful} for? Roman. ___ Devel mailing list D

Re: [Devel] [PATCH rh7] ms/net: don't wait for order-3 page allocation

2018-02-13 Thread Alexey Kuznetsov
Hello! BTW, check this a few lines above: gfp_head = gfp_mask; if (gfp_head & __GFP_WAIT) gfp_head |= __GFP_REPEAT; What is this?? On Tue, Feb 13, 2018 at 5:21 PM, Andrey Ryabinin wrote: > From: Shaohua Li > > We saw excessive direct memory compaction triggere