On Fri, May 25, 2018 at 07:11:14PM +0000, Derrick, Jonathan wrote: > +Lorenzo > > On Fri, 2018-05-11 at 09:39 -0600, Jonathan Derrick wrote: > > On Wed, 2018-05-09 at 09:26 -0600, Keith Busch wrote: > > > On Tue, May 08, 2018 at 09:38:28PM -0700, Christoph Hellwig wrote: > > > > On Tue, May 08, 2018 at 10:00:22AM -0600, Keith Busch wrote: > > > > > Devices with slow interrupt handlers are significantly harming > > > > > performance > > > > > when their interrupt vector is shared with a fast device. This > > > > > patch > > > > > creates a class code white list for devices with known fast > > > > > interrupt > > > > > handlers, and all other devices will share a single vector so > > > > > they don't > > > > > interfere with performance. > > > > > > > > > > At the moment, only the NVM Express class code is on the list, > > > > > but more > > > > > may be added if VMD users desire to use other low-latency > > > > > devices > > > > > in > > > > > these domains. > > > > > > > > I think this is far too much of a hack. Just don't use VMD if > > > > your > > > > care about performance. > > > > > > I'm not aware of an easier way you can direct-assign an entire PCIe > > > domain > > > to a virtual machine. :) > > > > It's fine with me > > > > Acked-by: Jon Derrick: <jonathan.derrick@xxxxxxxxx> > > > We've seen this actually fix an issue with one vendor's multi-function > switch. > I'd like to see it get into 4.18 if possible Sorry for the delay in getting back to this. It seems like Christoph is not too happy about this patch, it is your code so I would apply it unless there is a cleaner alternative so please do let me know. Thanks, Lorenzo