[Devel] [PATCH RH7 0/3] netfilter: nf_tables: switch read path to rcu

2023-11-01 Thread Pavel Tikhomirov
We have a customer claiming that iptables-nft takes too long to list rules from container on big systems. So we remove global nfnl_lock from read code paths and replace it with rcu to improve perfomane for that case. https://virtuozzo.atlassian.net/browse/PSBM-150147 Signed-off-by: Pavel Tikhomiro

[Devel] [PATCH RH7 2/3] netfilter: nf_tables: fix oops during rule dump

2023-11-01 Thread Pavel Tikhomirov
From: Florian Westphal We can oops in nf_tables_fill_rule_info(). Its not possible to fetch previous element in rcu-protected lists when deletions are not prevented somehow: list_del_rcu poisons the ->prev pointer value. Before rcu-conversion this was safe as dump operations did hold nfnetlink

[Devel] [PATCH RH7 3/3] netfilter: nf_tables: use list_entry_rcu in nft_do_chain

2023-11-01 Thread Pavel Tikhomirov
We already use list_for_each_entry_continue_rcu two lines below, it is thus logical to also use list_entry_rcu there. https://virtuozzo.atlassian.net/browse/PSBM-150147 Signed-off-by: Pavel Tikhomirov --- net/netfilter/nf_tables_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[Devel] [PATCH RH7 1/3] netfilter: nf_tables: use call_rcu in netlink dumps

2023-11-01 Thread Pavel Tikhomirov
From: Florian Westphal We can make all dumps and lookups lockless. Dumps currently only hold the nfnl mutex on the dump request itself. Dumps can span multiple syscalls, dump continuation doesn't acquire the nfnl mutex anywhere, i.e. the dump callbacks in nf_tables already use rcu and never rely

[Devel] [PATCH vz9 9/9] ms/x86/reboot: VMCLEAR active VMCSes before emergency reboot

2023-11-01 Thread Konstantin Khorenko
From: Sean Christopherson VMCLEAR active VMCSes before any emergency reboot, not just if the kernel may kexec into a new kernel after a crash. Per Intel's SDM, the VMX architecture doesn't require the CPU to flush the VMCS cache on INIT. If an emergency reboot doesn't RESET CPUs, cached VMCSes

[Devel] [PATCH vz9 3/9] ms/x86/reboot: Disable virtualization in an emergency if SVM is supported

2023-11-01 Thread Konstantin Khorenko
From: Maxim Levitsky Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2177720 commit d81f952aa657b76cea381384bef1fea35c5fd266 Author: Sean Christopherson Date: Wed Nov 30 23:36:49 2022 + x86/reboot: Disable virtualization in an emergency if SVM is supported Disable SVM on a

[Devel] [PATCH vz9 8/9] ms/KVM: VMX: Do _all_ initialization before exposing /dev/kvm to userspace

2023-11-01 Thread Konstantin Khorenko
From: Maxim Levitsky Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2177720 commit e32b120071ea114efc0b4ddd439547750b85f618 Author: Sean Christopherson Date: Wed Nov 30 23:08:58 2022 + KVM: VMX: Do _all_ initialization before exposing /dev/kvm to userspace Call kvm_init()

[Devel] [PATCH vz9 1/9] ms/x86/crash: Disable virt in core NMI crash handler to avoid double shootdown

2023-11-01 Thread Konstantin Khorenko
From: Maxim Levitsky Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2177720 commit 26044aff37a5455b19a91785086914fd33053ef4 Author: Sean Christopherson Date: Wed Nov 30 23:36:47 2022 + x86/crash: Disable virt in core NMI crash handler to avoid double shootdown Disable vir

[Devel] [PATCH vz9 0/9] x86/reboot/KVM: Avoid crashing L2 VMs on start after L1 VM reset

2023-11-01 Thread Konstantin Khorenko
Without this patchset applied to the L1 VM kernel L2 VMs may crash on boot in case L1 VM is reset using following command: # echo b > /proc/sysrq-trigger Following message appeared in the L2 VM log: KVM: entry failed, hardware error 0x8021 https://pmc.acronis.work/browse/VSTOR-76102 Note

[Devel] [PATCH vz9 6/9] ms/KVM: VMX: Don't bother disabling eVMCS static key on module exit

2023-11-01 Thread Konstantin Khorenko
From: Maxim Levitsky Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2177720 commit da66de44b01e9b7fa09731057593850394bf32e4 Author: Sean Christopherson Date: Wed Nov 30 23:08:55 2022 + KVM: VMX: Don't bother disabling eVMCS static key on module exit Don't disable the eVMC

[Devel] [PATCH vz9 4/9] ms/x86/reboot: Disable SVM, not just VMX, when stopping CPUs

2023-11-01 Thread Konstantin Khorenko
From: Maxim Levitsky Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2177720 commit a2b07fa7b93321c059af0c6d492cc9a4f1e390aa Author: Sean Christopherson Date: Wed Nov 30 23:36:50 2022 + x86/reboot: Disable SVM, not just VMX, when stopping CPUs Disable SVM and more importan

[Devel] [PATCH vz9 2/9] ms/x86/virt: Force GIF=1 prior to disabling SVM (for reboot flows)

2023-11-01 Thread Konstantin Khorenko
From: Maxim Levitsky Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2177720 commit 6a3236580b0b1accc3976345e723104f74f6f8e6 Author: Sean Christopherson Date: Wed Nov 30 23:36:48 2022 + x86/virt: Force GIF=1 prior to disabling SVM (for reboot flows) Set GIF=1 prior to disa

[Devel] [PATCH vz9 7/9] ms/KVM: x86: Move guts of kvm_arch_init() to standalone helper

2023-11-01 Thread Konstantin Khorenko
From: Maxim Levitsky Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2177720 commit 4f8396b96a9fc672964842fe7adbe8ddca8a3adf Author: Sean Christopherson Date: Wed Nov 30 23:08:57 2022 + KVM: x86: Move guts of kvm_arch_init() to standalone helper Move the guts of kvm_arch_i

[Devel] [PATCH vz9 5/9] ms/KVM: VMX: Reset eVMCS controls in VP assist page during hardware disabling

2023-11-01 Thread Konstantin Khorenko
From: Maxim Levitsky Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2177720 commit 2916b70fc342719f570640de07251b7f91feebdb Author: Sean Christopherson Date: Wed Nov 30 23:08:54 2022 + KVM: VMX: Reset eVMCS controls in VP assist page during hardware disabling Reset the eV

[Devel] [PATCH RHEL9 COMMIT] ms/x86/crash: Disable virt in core NMI crash handler to avoid double shootdown

2023-11-01 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-284.25.1.vz9.30.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh9-5.14.0-284.25.1.vz9.30.6 --> commit 733590473e1a1724fc368887039c0a2421be640c Author: Maxim Levitsky Date: Mon May 1 10:12:11 2023 +0300 ms/x86/cras

[Devel] [PATCH RHEL9 COMMIT] ms/x86/virt: Force GIF=1 prior to disabling SVM (for reboot flows)

2023-11-01 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-284.25.1.vz9.30.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh9-5.14.0-284.25.1.vz9.30.6 --> commit 738eab9eec92b62ab220dcac196a62dfcc752a9d Author: Maxim Levitsky Date: Mon May 1 10:12:13 2023 +0300 ms/x86/virt

[Devel] [PATCH RHEL9 COMMIT] ms/x86/reboot: Disable virtualization in an emergency if SVM is supported

2023-11-01 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-284.25.1.vz9.30.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh9-5.14.0-284.25.1.vz9.30.6 --> commit 80aa6f882e41dfb172c27c11cf042323e7dbe206 Author: Maxim Levitsky Date: Mon May 1 10:12:15 2023 +0300 ms/x86/rebo

[Devel] [PATCH RHEL9 COMMIT] ms/x86/reboot: Disable SVM, not just VMX, when stopping CPUs

2023-11-01 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-284.25.1.vz9.30.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh9-5.14.0-284.25.1.vz9.30.6 --> commit 025904b9457801bac5e4c6368384926cacc38d81 Author: Maxim Levitsky Date: Mon May 1 10:12:17 2023 +0300 ms/x86/rebo

[Devel] [PATCH RHEL9 COMMIT] ms/KVM: VMX: Reset eVMCS controls in VP assist page during hardware disabling

2023-11-01 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-284.25.1.vz9.30.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh9-5.14.0-284.25.1.vz9.30.6 --> commit f89a8ad38faf4eec2e6cd0888bb42cdde1dd676e Author: Maxim Levitsky Date: Tue Apr 25 08:56:47 2023 +0300 ms/KVM: VM

[Devel] [PATCH RHEL9 COMMIT] ms/KVM: VMX: Don't bother disabling eVMCS static key on module exit

2023-11-01 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-284.25.1.vz9.30.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh9-5.14.0-284.25.1.vz9.30.6 --> commit f041e1b557d857684be2a63008c7cbd052c96479 Author: Maxim Levitsky Date: Tue Apr 25 08:56:50 2023 +0300 ms/KVM: VM

[Devel] [PATCH RHEL9 COMMIT] ms/KVM: x86: Move guts of kvm_arch_init() to standalone helper

2023-11-01 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-284.25.1.vz9.30.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh9-5.14.0-284.25.1.vz9.30.6 --> commit 6e44faf0d47fcc754b715df07c7a0ba062dc564c Author: Maxim Levitsky Date: Tue Apr 25 08:56:58 2023 +0300 ms/KVM: x8

[Devel] [PATCH RHEL9 COMMIT] ms/KVM: VMX: Do _all_ initialization before exposing /dev/kvm to userspace

2023-11-01 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-284.25.1.vz9.30.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh9-5.14.0-284.25.1.vz9.30.6 --> commit 64f6a23339e0701d8474cb4f46240c79651c7578 Author: Maxim Levitsky Date: Tue Apr 25 08:57:01 2023 +0300 ms/KVM: VM

[Devel] [PATCH RHEL9 COMMIT] ms/x86/reboot: VMCLEAR active VMCSes before emergency reboot

2023-11-01 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-284.25.1.vz9.30.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh9-5.14.0-284.25.1.vz9.30.6 --> commit c9b607e3c5db81c51d54f615834d6509c5361ecc Author: Sean Christopherson Date: Fri Jul 21 13:18:41 2023 -0700 ms/x8

[Devel] [PATCH RHEL9 COMMIT] fs/fuse: fix broken 'fuse_invalidate_files()'

2023-11-01 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-284.25.1.vz9.30.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh9-5.14.0-284.25.1.vz9.30.8 --> commit 8bbcd081717bf26c2c4477740301c5e6284c6904 Author: Alexey Kuznetsov Date: Fri Oct 6 18:42:13 2023 +0800 fs/fuse:

[Devel] [PATCH RHEL9 COMMIT] fs/fuse: fix flush_bg_queue()

2023-11-01 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-284.25.1.vz9.30.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh9-5.14.0-284.25.1.vz9.30.8 --> commit f92fadba8974c47d124cc0b9b13c48627cb3808f Author: Alexey Kuznetsov Date: Fri Oct 6 18:42:20 2023 +0800 fs/fuse:

[Devel] [PATCH RHEL9 COMMIT] fuse: direct access to local cs repositories

2023-11-01 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-284.25.1.vz9.30.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh9-5.14.0-284.25.1.vz9.30.8 --> commit 620a4d6bce88f5f27c8b7912d811bf9e3d89b869 Author: Alexey Kuznetsov Date: Fri Oct 6 18:42:28 2023 +0800 fuse: dir

[Devel] [PATCH RHEL9 COMMIT] fuse: direct access to journaled cs

2023-11-01 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-284.25.1.vz9.30.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh9-5.14.0-284.25.1.vz9.30.8 --> commit f18b0a63779ca7b0e129aeed6877be7e606bb21f Author: Alexey Kuznetsov Date: Fri Oct 6 18:42:35 2023 +0800 fuse: dir

[Devel] [PATCH RHEL9 COMMIT] fuse: implement fast access to encrypted CSes

2023-11-01 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-284.25.1.vz9.30.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh9-5.14.0-284.25.1.vz9.30.8 --> commit fb25ea858b2db2e7733b7b5298b2937e21a8d1b6 Author: Alexey Kuznetsov Date: Fri Oct 6 18:42:44 2023 +0800 fuse: imp

[Devel] [PATCH RHEL9 COMMIT] fuse: better check_zero

2023-11-01 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-284.25.1.vz9.30.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh9-5.14.0-284.25.1.vz9.30.8 --> commit 4147b9a7f83862da25308c6e65c584b0952a5f8a Author: Alexey Kuznetsov Date: Fri Oct 6 18:42:49 2023 +0800 fuse: bet

[Devel] [PATCH RHEL9 COMMIT] fuse: cs acceleration for writes

2023-11-01 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-284.25.1.vz9.30.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh9-5.14.0-284.25.1.vz9.30.8 --> commit 5472b6c50d7130397c3fa0deb72579231e5506e8 Author: Alexey Kuznetsov Date: Fri Oct 6 18:42:55 2023 +0800 fuse: cs

[Devel] [PATCH RHEL9 COMMIT] fuse: implement fanout writes

2023-11-01 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-284.25.1.vz9.30.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh9-5.14.0-284.25.1.vz9.30.8 --> commit db885ba37bd6cbc00dca9f656fbdd64801855996 Author: Alexey Kuznetsov Date: Fri Oct 6 18:43:01 2023 +0800 fuse: imp

[Devel] [PATCH RHEL9 COMMIT] fuse: a protocol to reenable optimizations after replication finished

2023-11-01 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-284.25.1.vz9.30.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh9-5.14.0-284.25.1.vz9.30.8 --> commit 3202fa19f30e1e189addc784afc249fd9a9f1b59 Author: Alexey Kuznetsov Date: Fri Oct 6 18:43:07 2023 +0800 fuse: a p

[Devel] [PATCH RHEL9 COMMIT] fuse: use gratuitous notifications to allow reads from finished replicas

2023-11-01 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-284.25.1.vz9.30.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh9-5.14.0-284.25.1.vz9.30.8 --> commit 19358af22afdc8b2b75632e7a24284200f5a2e05 Author: Alexey Kuznetsov Date: Fri Oct 6 18:43:14 2023 +0800 fuse: use

[Devel] [PATCH RHEL9 COMMIT] fuse: implement acceleration for synchronous writes

2023-11-01 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-284.25.1.vz9.30.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh9-5.14.0-284.25.1.vz9.30.8 --> commit a291ae338af49a4a4c77e12169bee9813e6e971b Author: Alexey Kuznetsov Date: Fri Oct 6 18:43:23 2023 +0800 fuse: imp

[Devel] [PATCH RHEL9 COMMIT] fuse: minor, teach gcc to check for trace format validity

2023-11-01 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-284.25.1.vz9.30.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh9-5.14.0-284.25.1.vz9.30.8 --> commit 1006f96182edb77d2111b8c3bde8dab983fda9b6 Author: Alexey Kuznetsov Date: Fri Oct 6 18:43:29 2023 +0800 fuse: min

[Devel] [PATCH RHEL9 COMMIT] fuse: sync protocol for accelerated cses

2023-11-01 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-284.25.1.vz9.30.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh9-5.14.0-284.25.1.vz9.30.8 --> commit cda38993b3b9843a34ac6af7b5b5b08416cd3406 Author: Alexey Kuznetsov Date: Fri Oct 6 18:43:37 2023 +0800 fuse: syn

[Devel] [PATCH RHEL9 COMMIT] fuse: error reporting races

2023-11-01 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-284.25.1.vz9.30.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh9-5.14.0-284.25.1.vz9.30.8 --> commit b9ce1a2648badaa04d0cee6600d2a320ad4a8680 Author: Alexey Kuznetsov Date: Fri Oct 6 18:43:42 2023 +0800 fuse: err

[Devel] [PATCH RHEL9 COMMIT] fuse: do not accelerate writes with unknown dirty state

2023-11-01 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-284.25.1.vz9.30.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh9-5.14.0-284.25.1.vz9.30.8 --> commit a16b045d56c6b214038db4bd5d12607a99bce552 Author: Alexey Kuznetsov Date: Fri Oct 6 18:43:48 2023 +0800 fuse: do

[Devel] [PATCH RHEL9 COMMIT] fuse: pcs: rpc timeout was incoherent

2023-11-01 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-284.25.1.vz9.30.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh9-5.14.0-284.25.1.vz9.30.8 --> commit e8e06f1b730e1d1112914d8aa17fb71650c45cba Author: Alexey Kuznetsov Date: Fri Oct 6 18:43:55 2023 +0800 fuse: pcs

[Devel] [PATCH RHEL9 COMMIT] fuse: pcs: split trace_printk

2023-11-01 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-284.25.1.vz9.30.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh9-5.14.0-284.25.1.vz9.30.8 --> commit 5e3029fd1e9da56b159d9b2c80bc6522418b3806 Author: Alexey Kuznetsov Date: Fri Oct 6 18:44:03 2023 +0800 fuse: pcs

[Devel] [PATCH RHEL9 COMMIT] fuse: pcs: new rpc affinity mode - RSS

2023-11-01 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-284.25.1.vz9.30.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh9-5.14.0-284.25.1.vz9.30.8 --> commit a00af8d0e5837dabe0eabab9fce5fe382da811e8 Author: Alexey Kuznetsov Date: Fri Oct 6 18:44:08 2023 +0800 fuse: pcs

[Devel] [PATCH RHEL9 COMMIT] fuse: pcs: split trace_printk

2023-11-01 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-284.25.1.vz9.30.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh9-5.14.0-284.25.1.vz9.30.8 --> commit 5e3029fd1e9da56b159d9b2c80bc6522418b3806 Author: Alexey Kuznetsov Date: Fri Oct 6 18:44:03 2023 +0800 fuse: pcs

[Devel] [PATCH RHEL9 COMMIT] fuse: skip bg_queue for async direct io pcs requests

2023-11-01 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-284.25.1.vz9.30.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh9-5.14.0-284.25.1.vz9.30.8 --> commit 54e40be2a9b78ed72cfa8fd7a059aad3d7936036 Author: Alexey Kuznetsov Date: Fri Oct 6 18:44:14 2023 +0800 fuse: ski

[Devel] [PATCH RHEL9 COMMIT] fuse: scalable queue limiting

2023-11-01 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-284.25.1.vz9.30.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh9-5.14.0-284.25.1.vz9.30.8 --> commit 81e667c754a6120d994c755443d7291e0a8d6c4f Author: Alexey Kuznetsov Date: Fri Oct 6 18:44:22 2023 +0800 fuse: sca