Re: svn commit: r325920 - head/sys/kern

2017-11-16 Thread Cy Schubert
In message <201711170225.vah2p4jy046...@repo.freebsd.org>, Mateusz Guzik writes : > Author: mjg > Date: Fri Nov 17 02:25:04 2017 > New Revision: 325920 > URL: https://svnweb.freebsd.org/changeset/base/325920 > > Log: > mtx: unlock before traversing threads to wake up > > This shortens the

svn commit: r325920 - head/sys/kern

2017-11-16 Thread Mateusz Guzik
Author: mjg Date: Fri Nov 17 02:25:04 2017 New Revision: 325920 URL: https://svnweb.freebsd.org/changeset/base/325920 Log: mtx: unlock before traversing threads to wake up This shortens the lock hold time while not affecting corretness. All the woken up threads end up competing can lose t