James Bottomley <James.Bottomley@xxxxxxxxxxxx> wrote: > > Since you won't post the usage code, just answer this: how does what > you're doing with idr differ from its originally designed consumer: the > posix timers which also do the idr_remove() in IRQ context? erp. posix_timers has its own irq-safe lock, so we're doing extra, unneeded locking in that code path. I think providing locking inside idr.c was always a mistake - generally we rely on caller-provided locking for such things. - : 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