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

2018-04-08 Thread Mateusz Guzik
On Sun, Apr 8, 2018 at 9:06 PM, Steven Hartland < steven.hartl...@multiplay.co.uk> wrote: > Worth making the sysctls so they can be tuned the the HW / use case? > they already are, see: sysctl debug.mtx debug.mtx_spin debug.rwlock debug.sx -- Mateusz Guzik

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

2018-04-08 Thread Steven Hartland
Worth making the sysctls so they can be tuned the the HW / use case? On 08/04/2018 17:34, Mateusz Guzik wrote: Author: mjg Date: Sun Apr 8 16:34:10 2018 New Revision: 332285 URL: https://svnweb.freebsd.org/changeset/base/332285 Log: locks: tweak backoff a little bit Previous limits

svn commit: r332285 - head/sys/kern

2018-04-08 Thread Mateusz Guzik
Author: mjg Date: Sun Apr 8 16:34:10 2018 New Revision: 332285 URL: https://svnweb.freebsd.org/changeset/base/332285 Log: locks: tweak backoff a little bit Previous limits were chosen when locking primitives had spurious lock accesses. Flipping the starting point to 1 (or rather 2