svn commit: r330294 - head/sys/kern

Mateusz Guzik mjguzik at gmail.com
Fri Mar 2 21:49:08 UTC 2018


On Fri, Mar 2, 2018 at 10:26 PM, Mateusz Guzik <mjg at freebsd.org> wrote:

> Author: mjg
> Date: Fri Mar  2 21:26:27 2018
> New Revision: 330294
> URL: https://svnweb.freebsd.org/changeset/base/330294
>
> Log:
>   sx: fix adaptive spinning broken in r327397
>
>   The condition was flipped.
>
>   In particular heavy multithreaded kernel builds on zfs started suffering
>   due to nested sx locks.
>
>   For instance make -s -j 128 buildkernel:
>
>   before: 3326.67s user 1269.62s system 6981% cpu 1:05.84 total
>   after: 3365.55s user 911.27s system 6871% cpu 1:02.24 total
>
>   ps.
>         .-'---`-.                             .-'---`-.
>       ,'          `.                ,'          `.
>       |             \               |             \
>       |              \              |              \
>       \           _  \              \           _  \
>       ,\  _    ,'-,/-)\             ,\  _    ,'-,/-)\
>       ( * \ \,' ,' ,'-)             ( * \ \,' ,' ,'-)
>        `._,)     -',-')              `._,)     -',-')
>          \/         ''/                \/         ''/
>           )        / /                  )        / /
>          /       ,'-'                  /       ,'-'
>

For some reason some people have non-fixed size fonts and keep asking what
this is. It's not a squirrel, Admiral Ackbar nor a failed attempt at ascii
art.

The svnweb version provides a nice view:

https://svnweb.freebsd.org/base?view=revision&revision=330294

Courtesy of http://www.asciifacepalm.com/

-- 
Mateusz Guzik <mjguzik gmail.com>


More information about the svn-src-all mailing list