Re: g_mass_storage not queueing requests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2 Sep 2016, Felipe Balbi wrote:

> 
> Hi,
> 
> Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> writes:
> 
> [...]
> 
> > No, that would be too late.  The barrier needs to go between the write 
> > to common->thead_wakeup_needed and the call to wake_up_process().  
> 
> alright, I tested this but it doesn't work. It still hangs :-(

Okay, I was wrong.  But see my recent reply to Paul; maybe the 
smp_wmb() in wakeup_thread() needs to be smp_mb().

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux