On Sat, 14 Jul 2012, Jan Kiszka wrote: > On 2012-07-14 13:16, Thomas Gleixner wrote: > > On Sat, 14 Jul 2012, Jan Kiszka wrote: > >> On 2012-07-14 04:25, Thomas Gleixner wrote: > >> This patch here is a workaround to unbreak devices assignment in 3.5 > >> after the IRQ layer changes without regressing noticeable /wrt overhead. > > > > Yeah, workaround and regression are the proper marketing buzzwords to > > excuse mindless hackery. > > > > It took me a minute to figure out that there is no reason at all to > > use a threaded interrupt handler for MSI and MSIX. > > Thomas, we also explained to you in the cited thread that your simple > approach for this doesn't work as is. We will have a proper solution > soon, but it takes a bit more than a minute - at least us. And I explained to you in that very thread that the proper solution to avoid the "overhead" of finalize_oneshot is exaclty the patch I sent to Linus yesterday: > The only way we can avoid that, is that we get a hint from the > underlying irq chip/ handler setup with an extra flag to tell the > core, that it's safe to avoid the ONESHOT/finalize magic. So now it took a full month of ignorance to come up with the mindboggling solution of working around the core change with a private hack instead of sitting down and doing what was said to be the correct solution. And that's what seriously annoys me. Instead of doing it yourself or at least politely poking me to get it done, stuff just gets hacked into submission and sold as the "performance regression" saviour. Of course you are free to ignore my advice, but that does not mean that I take bullshit from you. Thanks, tglx -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html