Re: [RFC] PCI device list locking

From: Andrew Morton (akpm@digeo.com)
Date: Tue Jun 17 2003 - 17:51:43 EST


Greg KH <greg@kroah.com> wrote:
>
> + spin_lock(&pci_bus_lock);
>

I have a vague feeling that some code somewhere may be calling these
functions from interrupt context.

I may have misremembered, but perhaps a sprinkling of
WARN_ON(irqs_disabled()) would be prudent for now.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jun 23 2003 - 22:00:22 EST