Re: [PATCH v17 02/15] s390/vfio-ap: use new AP bus interface to search for queue devices
From: Halil Pasic
Date: Mon Dec 27 2021 - 03:26:16 EST
On Thu, 21 Oct 2021 11:23:19 -0400
Tony Krowiak <akrowiak@xxxxxxxxxxxxx> wrote:
> his patch refactors the vfio_ap device driver to use the AP bus's
> ap_get_qdev() function to retrieve the vfio_ap_queue struct containing
> information about a queue that is bound to the vfio_ap device driver.
> The bus's ap_get_qdev() function retrieves the queue device from a
> hashtable keyed by APQN. This is much more efficient than looping over
> the list of devices attached to the AP bus by several orders of
> magnitude.
>
> Signed-off-by: Tony Krowiak <akrowiak@xxxxxxxxxxxxx>
> Reviewed-by: Halil Pasic <pasic@xxxxxxxxxxxxx>
I assume nothing changed here, and nothing significant changed around
this patch (context). If I'm wrong, please tell me and I will
re-evaluate.
Regards,
Halil