On Fri, 2 Sep 2016, Felipe Balbi wrote:

> 
> Hi,
> 
> Alan Stern <st...@rowland.harvard.edu> 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 majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to