[Devel] [PATCH vz7] ploop: fix race on map->levels[] update

2017-08-07 Thread Maxim Patlasov
Doing fast-path, ploop needs to know iblock and corresponding delta for io. iblock is stored in page_address(m->page))[idx] while delta lookup will use m->levels[idx]. Hence both reads and writes must access these bits atomically. Otherwise, a reader might use older page[idx] and newer levels[idx]

[Devel] [PATCH RH7 v2 3/4] ms/devpts: clean up interface to pty drivers

2017-08-07 Thread Pavel Tikhomirov
From: Linus Torvalds cherry-pick ms commit 67245ff332064c01b760afa7a384ccda024bfd24 Now pts_sb_from_inode is called for non devptsfs inodes only on open once, next we use superblock from driver_data on tty. We had a warning if open /dev/ptmx in one ve(ve0) and

[Devel] [PATCH RH7 v2 1/4] devpts: if initialization failed, don't crash when opening /dev/ptmx

2017-08-07 Thread Pavel Tikhomirov
From: Josh Triplett cherry-pick ms commit 9ce71148b027e2bd27016139cae1c39401587695 v2: these patch was lost in previous series If devpts failed to initialize, it would store an ERR_PTR in the global devpts_mnt. A subsequent open of /dev/ptmx would call devpts_new_index,

[Devel] [PATCH RH7 4/4] ms/devpts: fix null pointer dereference on failed memory allocation

2017-08-07 Thread Pavel Tikhomirov
From: Colin Ian King cherry-pick ms commit 5353ed8deedee9e5acb9f896e9032158f5d998de Take these one just in case. https://jira.sw.ru/browse/PSBM-67757 An ENOMEM when creating a pair tty in tty_ldisc_setup causes a null pointer dereference in devpts_kill_index because

[Devel] [PATCH RHEL7 COMMIT] sunrpc: take net from task client only is available

2017-08-07 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.33.22 --> commit 87bd0a23084d715b2c0eba3f385503b3fac59ae0 Author: Stanislav Kinsburskiy Date: Mon Aug 7

Re: [Devel] [PATCH RHEL7 COMMIT] sunrpc: take net from task client only is available

2017-08-07 Thread Konstantin Khorenko
Please consider creating a ReadyKernel patch for it (for vz7 update 5 kernel only - vz7.33.22). https://readykernel.com/ -- Best regards, Konstantin Khorenko, Virtuozzo Linux Kernel Team On 08/07/2017 01:53 PM, Konstantin Khorenko wrote: The commit is pushed to

[Devel] [PATCH RH7 v2 2/4] ms/pty: Remove pty_unix98_shutdown()

2017-08-07 Thread Pavel Tikhomirov
From: Peter Hurley cherry-pick ms commit c1e33af1ed552258405f2e5a72509af039c0441c Take these one for the next patch to apply cleaner. https://jira.sw.ru/browse/PSBM-67757 The tty core invokes the optional driver shutdown() just before the optional driver remove()

[Devel] [PATCH RHEL7 COMMIT] ms/kvm: x86: hyperv: avoid livelock in oneshot SynIC timers

2017-08-07 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.33.22 --> commit d86cb50b159e72f7575ac407d984252395cad053 Author: Roman Kagan Date: Mon Aug 7 13:33:20 2017

[Devel] [PATCH RHEL7 COMMIT] ms/mm: fix sleeping function warning from __put_anon_vma

2017-08-07 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.33.22 --> commit 1c7e7932ba7de7636e02a32d88f365bcc0f2a2b1 Author: Hugh Dickins Date: Mon Aug 7 13:40:52 2017

[Devel] [PATCH RHEL7 COMMIT] ms/devpts: clean up interface to pty drivers

2017-08-07 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.33.22 --> commit 0b0aa9c375b886c46294aa2dab86e325a0348bd3 Author: Linus Torvalds Date: Mon Aug 7

[Devel] [PATCH RHEL7 COMMIT] ms/devpts: fix null pointer dereference on failed memory allocation

2017-08-07 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.33.22 --> commit 456aa3957705db37e6db8dcb0c331130a5618d18 Author: Colin Ian King Date: Mon Aug 7 14:26:52

[Devel] [PATCH RHEL7 COMMIT] ve: remove some dead parts from ve_struct

2017-08-07 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.33.22 --> commit 4a3f0b5cf339e1b39f41f7a4002313dfe0e0ac05 Author: Stanislav Kinsburskiy Date: Mon Aug 7

[Devel] [PATCH RHEL7 COMMIT] ms/pty: Remove pty_unix98_shutdown()

2017-08-07 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.33.22 --> commit af64e84e434bdf0b5fa8bd80f7154ad0f969162e Author: Peter Hurley Date: Mon Aug 7 13:54:16

[Devel] [PATCH RHEL7 COMMIT] ms/devpts: clean up interface to pty drivers

2017-08-07 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.35.1 --> commit 9b155c64bbbadb56a5d94fef806ab84e787efb8f Author: Linus Torvalds Date: Mon Aug 7

[Devel] [PATCH RHEL7 COMMIT] ms/devpts: fix null pointer dereference on failed memory allocation

2017-08-07 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.35.1 --> commit 0a5a911beae05d0abbd7e75380b7c176ae5f636e Author: Colin Ian King Date: Mon Aug 7 16:56:51

[Devel] [PATCH RHEL7 COMMIT] ms/devpts: if initialization failed, don't crash when opening /dev/ptmx

2017-08-07 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.35.1 --> commit 15e94b7c7d4b6998ab4e9546bb1ab1318d081ec2 Author: Josh Triplett Date: Mon Aug 7 16:56:49 2017

[Devel] [PATCH RHEL7 COMMIT] ms/pty: Remove pty_unix98_shutdown()

2017-08-07 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.35.1 --> commit d5cb3b4d74a7ebc7c1bacdcfb6d862b89088f9a0 Author: Peter Hurley Date: Mon Aug 7 16:56:50

[Devel] [PATCH RHEL7 COMMIT] ms: Revert "KVM: nested VMX: disable perf cpuid reporting"

2017-08-07 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.33.22 --> commit 3b09bcc0f85a65df5ae48f5744805f2c71045f5b Author: Jim Mattson Date: Mon Aug 7 13:35:55 2017

Re: [Devel] [libvzctl PATCH 0/2] env_create: create CT run root in VE#0 context

2017-08-07 Thread Konstantin Khorenko
Igor, could you please apply this patchset? Thank you. -- Best regards, Konstantin Khorenko, Virtuozzo Linux Kernel Team On 07/28/2017 11:43 AM, Stanislav Kinsburskiy wrote: Found in scope of https://jira.sw.ru/browse/PSBM-65033 Fixed anoying hanging slab after CT stop:

Re: [Devel] [PATCH RH7 1/3] ms/pty: Remove pty_unix98_shutdown()

2017-08-07 Thread Konstantin Khorenko
JFYI: reverted this patchset, it will be resent with an additional patch. -- Best regards, Konstantin Khorenko, Virtuozzo Linux Kernel Team On 07/27/2017 06:40 PM, Pavel Tikhomirov wrote: From: Peter Hurley cherry-pick ms commit

[Devel] [PATCH RHEL7 COMMIT] fs: Revert "MS/FS/DCACHE: move vfs caches to headers"

2017-08-07 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.33.22 --> commit ca5fda64277d7f77d195aecf61a6ab85519741c8 Author: Kirill Tkhai Date: Mon Aug 7 14:47:34 2017

Re: [Devel] [PATCH] kernel: call task_work_run() before exit_task_namespaces()

2017-08-07 Thread Konstantin Khorenko
ping -- Best regards, Konstantin Khorenko, Virtuozzo Linux Kernel Team On 07/20/2017 11:44 AM, Konstantin Khorenko wrote: Andrey, i've applied the patch in order not to block, but please extend the comment a little bit more: - ms commits (which are big to backport) - and what is the

[Devel] [PATCH RHEL7 COMMIT] ms/KVM: x86: emulate FXSAVE and FXRSTOR

2017-08-07 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.33.22 --> commit 0ed8ba6d68a7e77e2c07c47fff2a2f98641df252 Author: Radim Krčmář Date: Mon Aug 7 14:41:11 2017

[Devel] [PATCH RHEL7 COMMIT] ms/KVM: x86: add Align16 instruction flag

2017-08-07 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.33.22 --> commit 79cf059f7fbbdb12900628a7c8c31918b69ac37b Author: Radim Krčmář Date: Mon Aug 7 14:41:09 2017

[Devel] [PATCH RHEL7 COMMIT] ms/KVM: x86: save one bit in ctxt->d

2017-08-07 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.33.22 --> commit 3fc24d5c90ee96abf500a58fdfce05eb0ebdcb30 Author: Radim Krčmář Date: Mon Aug 7 14:41:10 2017

[Devel] [PATCH] kernel: call task_work_run() before exit_task_namespaces()

2017-08-07 Thread Andrei Vagin
From: Andrei Vagin This patch solves a problem for a following case. We have a container (a group of processes in pid and mount namespaces) with a fuse mount. An init process exits and the kernel kills all process in its pid namespace. There is a fuse daemon, which handle