[patches 6/8] pcmcia: remove racy try_irq()

Dominik Brodowski linux at dominikbrodowski.de
Tue Jan 11 17:27:53 EST 2005


On Tue, Jan 11, 2005 at 12:11:45PM -0800, David Hinds wrote:
> system resources: it does not distinguish between a piece of hardware
> occupying a resource, and a driver using a resource to talk to some
> hardware.

For iomem / ioport resources, it actually does: depending on the 
IORESOURCE_BUSY flag it marks it as "used" or "occupied".

[see http://linux.bkbits.net:8080/linux-2.6/cset@40d5fb26UqZydwXPALLBeucYPwP54A?nav=index.html|src/|src/drivers|src/drivers/pcmcia|related/drivers/pcmcia/rsrc_mgr.c ]

> the kernel resource database can't be depended on for hot plug
> resource allocation.

A similar additon _may_ yet be needed for the IRQ resource database, for
ioport / iomem I tend to disagree.


More information about the linux-pcmcia mailing list