On Tue, 11 Apr 2017, Alan Stern wrote: > For now, I think it would be best to put smp_mb() in both places. > After I do a more thorough rewrite, the memory barriers will make more > sense. Felipe: I have prepared a series of two patches: one to change the way f_mass_storage handles asynchronous notifications and its internal state, and one to change the way it handles memory barriers. The patches are fairly extensive and not suitable for -stable. Should I send them to you for testing on your -next branch? The second one will clash with Thinh Nguyen's change, but his patch will be acceptable for the -stable kernels. 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