lkml.org 
[lkml]   [2005]   [May]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 2.6.12-rc4-mm1 3/4] megaraid_sas: updating the driver
From
Date
On Mon, 2005-05-16 at 09:18 -0500, James Bottomley wrote:
> On Mon, 2005-05-16 at 10:06 +0200, Arjan van de Ven wrote:
> > > + spin_lock( instance->host_lock );
> > > + cmd->scmd->scsi_done( cmd->scmd );
> > > + spin_unlock( instance->host_lock );
> >
> > are you really sure you don't want to use spin_lock_irqsave() here ?
>
> Actually, don't bother with the lock at all. scsi_done() is designed to
> be called locklessly.

doh sorry I missed that (but knew it)
proves I need to drink the coffee BEFORE the patch review ;)


-
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/

\
 
 \ /
  Last update: 2005-05-16 16:29    [W:0.049 / U:0.308 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site