On Mon, Aug 21, 2023 at 12:16:59AM -0700, Huang Jiaqing wrote:While lots of dsa devices were enabled, parallel dsa_test with large transfer size
The existing IO page fault handler locates the PCI device by callingCan you elaborate a little more on the 'significant performance
pci_get_domain_bus_and_slot(), which searches the list of all PCI
devices until the desired PCI device is found. This is inefficient
because the algorithm efficiency of searching a list is O(n). In the
critical path of handling an IO page fault, this can cause a significant
performance bottleneck.
bottleneck' part? Where do you see this as a problem?
Regards,
Joerg