Re: [RFC][PATCH] Add sysfs entry that displays MSI-X IRQs

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

 



Michael Ellerman wrote:
Is there anything to stop this being called while we're deleting entries
from the list in msi_free_irqs() ?

Technically there isn't. Some routines that call msi_free_irqs(), pci_disable_msix() for example, are global so that could mess things up. However in reality these will only be called on driver probe and remove which are called before sysfs creation and after sysfs deletion respectively. So it won't be an issue in the normal case. Theoretically there could be an issue, should we put it in a spinlock?



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

[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux