Thread (18 messages) 18 messages, 3 authors, 2004-08-17

Re: PATCH: straighten out the IDE layer locking and add hotplug

From: Alan Cox <hidden>
Date: 2004-08-17 17:13:46

On Maw, 2004-08-17 at 14:12, Bartlomiej Zolnierkiewicz wrote:
quoted
+			if (g->irq == hwif->irq)
+				++irq_count;
+			g = g->next;
+		} while (g != hwgroup->hwif);
+	}
+	spin_unlock_irq(&ide_lock);
new race(s) here because of not holding ide_cfg_sem anylonger,
see init_irq() in ide-probe.c and ide_cfg_sem comments in ide.h
Double checked. No race. ide_cfg_sem is held over the whole 
ide_unregister path.

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help