Re: [for-6.1 2/4] virtio-blk: Configure all host notifiers in a single MR transaction

2021-05-06 Thread Michael S. Tsirkin
On Wed, May 05, 2021 at 01:15:51PM +0200, Greg Kurz wrote: > On Wed, 5 May 2021 11:14:23 +0100 > Stefan Hajnoczi wrote: > > > On Wed, Apr 07, 2021 at 04:34:59PM +0200, Greg Kurz wrote: > > > This allows the virtio-blk-pci device to batch the setup of all its > > > host notifiers. This significant

Re: [for-6.1 2/4] virtio-blk: Configure all host notifiers in a single MR transaction

2021-05-05 Thread Greg Kurz
On Wed, 5 May 2021 11:14:23 +0100 Stefan Hajnoczi wrote: > On Wed, Apr 07, 2021 at 04:34:59PM +0200, Greg Kurz wrote: > > This allows the virtio-blk-pci device to batch the setup of all its > > host notifiers. This significantly improves boot time of VMs with a > > high number of vCPUs, e.g. from

Re: [for-6.1 2/4] virtio-blk: Configure all host notifiers in a single MR transaction

2021-05-05 Thread Stefan Hajnoczi
On Wed, Apr 07, 2021 at 04:34:59PM +0200, Greg Kurz wrote: > This allows the virtio-blk-pci device to batch the setup of all its > host notifiers. This significantly improves boot time of VMs with a > high number of vCPUs, e.g. from 3m26.186s down to 0m58.023s for a > pseries machine with 384 vCPUs

[for-6.1 2/4] virtio-blk: Configure all host notifiers in a single MR transaction

2021-04-07 Thread Greg Kurz
This allows the virtio-blk-pci device to batch the setup of all its host notifiers. This significantly improves boot time of VMs with a high number of vCPUs, e.g. from 3m26.186s down to 0m58.023s for a pseries machine with 384 vCPUs. Note that memory_region_transaction_commit() must be called befo