On Mon, Oct 22, 2018 at 12:09:54PM +0200, Hans Petter Selasky wrote: > On 10/22/18 11:51 AM, Konstantin Belousov wrote: > > On Mon, Oct 22, 2018 at 08:58:28AM +0000, Hans Petter Selasky wrote: > >> Author: hselasky > >> Date: Mon Oct 22 08:58:27 2018 > >> New Revision: 339582 > >> URL: https://svnweb.freebsd.org/changeset/base/339582 > >> > >> Log: > >> Drop sequencer mutex around uiomove() and make sure we don't move more > >> bytes > >> than is available, else a panic might happen. > > And why it is safe to drop the mutex ? > > If it is safe to drop, why do you need the mutex at all ? > > > > The seq mutex protects the queue state, which is entirely computed prior > or after uiomove().
Then why do you need to re-acquire the mutex after uiomove ? _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"