Re: [RFC 4/4] firewire: add mem1394

From: Johannes Berg
Date: Fri Feb 03 2006 - 06:45:19 EST


On Fri, 2006-02-03 at 12:35 +0100, Andy Wingo wrote:

> On Thu, 2006-02-02 at 23:43 +0100, Johannes Berg wrote:
> > + spin_lock(&dev_list_lock);
>
> Stupid question: are you sure that something coming from an interrupt
> handler won't try to grab this lock? For example from a cable unplug?

Yes, I'm pretty sure (but I hope some of the firewire experts will chime
in) -- but if you unplug or anything the node only goes into 'limbo' and
afaict if it is ever cleaned up then that comes from a thread context.

johannes

Attachment: signature.asc
Description: This is a digitally signed message part