Re: [PATCH 23/24] advansys: Improve interrupt handler

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Matthew Wilcox wrote:
On Fri, Jul 27, 2007 at 11:53:46AM -0400, Jeff Garzik wrote:
Matthew Wilcox wrote:
I still say it's an improvement over scanning the list of scsi hosts
looking for any that have work pending whenever any interrupt comes in.
Having the kernel interrupt subsystem implement a loop for you is completely utterly unusual, slow, silly, and likely to get broken when people futz with the interrupt system core. It probably has edge cases too, like screwing with the screaming interrupt detection code.

The kernel interrupt subsystem is not meant to be abused in that way.

I think what you're missing is: This isn't new.  The advansys driver
was *already* requesting the same interrupt twice for EISA boards.
It's just that before, when an interrupt happened on the EISA board,
it would scan all Scsi_Hosts twice, and now it scans this pair of boards
once each.

It may not be elegant, it may not be the best way, but it *is* a
monotonic improvement.  So please, calm down.

You're expanding wrongheaded use.  That's moving in the wrong direction.

	Jeff



-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux