[PATCH v3 5/6] PCI: hv: hv_pci_devices_present(): only queue a new work when necessary

Michael Kelley (EOSG) Michael.H.Kelley at microsoft.com
Tue Mar 6 18:31:50 UTC 2018


> -----Original Message-----
> From: Dexuan Cui
> Sent: Tuesday, March 6, 2018 10:22 AM
> To: bhelgaas at google.com; linux-pci at vger.kernel.org; KY Srinivasan <kys at microsoft.com>;
> Stephen Hemminger <sthemmin at microsoft.com>; olaf at aepfle.de; apw at canonical.com;
> jasowang at redhat.com
> Cc: linux-kernel at vger.kernel.org; driverdev-devel at linuxdriverproject.org; Haiyang Zhang
> <haiyangz at microsoft.com>; vkuznets at redhat.com; marcelo.cerri at canonical.com; Michael
> Kelley (EOSG) <Michael.H.Kelley at microsoft.com>; Dexuan Cui <decui at microsoft.com>; Jack
> Morgenstein <jackm at mellanox.com>; stable at vger.kernel.org
> Subject: [PATCH v3 5/6] PCI: hv: hv_pci_devices_present(): only queue a new work when
> necessary
> 
> If there is a pending work, we just need to add the new dr into
> the dr_list.
> 
> This is suggested by Michael Kelley.
> 
> Signed-off-by: Dexuan Cui <decui at microsoft.com>
> Cc: Vitaly Kuznetsov <vkuznets at redhat.com>
> Cc: Jack Morgenstein <jackm at mellanox.com>
> Cc: stable at vger.kernel.org
> Cc: Stephen Hemminger <sthemmin at microsoft.com>
> Cc: K. Y. Srinivasan <kys at microsoft.com>
> Cc: Michael Kelley (EOSG) <Michael.H.Kelley at microsoft.com>
> ---
>  drivers/pci/host/pci-hyperv.c | 15 +++++++++++++--
>  1 file changed, 13 insertions(+), 2 deletions(-)
> 

Reviewed-by: Michael Kelley <mikelley at microsoft.com>


More information about the devel mailing list