On Mon, Oct 12, 2026 at 12:17:38PM +0530, Naman Jain wrote:
> > The disable_irq_nosync still does non-posted transactions for msi and
> > msi-x. NVMe has a shortcut for msi, but there's currently nothing for
> > msi-x. For that case, I have a prep patch I consulted with Thomas, and
> > the result is below. I'm delayed sending it out while catching up from
> > travel, but I think this will be even more efficient.
> > 
> 
> Thanks for sharing. I'll give it a try. IIUC, after your patch goes in, I
> should be using disable_irq_nowait() in above and see better performance.

Yes, exactly. It should save hundreds of CPU cycles on every switch from
irq to polling.

> Please correct me if I am wrong. I'll monitor your patch in LKML for future
> versions.

I need a user for the new API. NVMe is the only one I have in mind
right now, so this new irq disable would have to be tied to the series
that does the adaptive polling.

Reply via email to