svn commit: r333358 - head/lib/libsqlite3

2018-05-07 Thread Peter Wemm
Author: peter Date: Tue May 8 06:09:49 2018 New Revision: 58 URL: https://svnweb.freebsd.org/changeset/base/58 Log: Revert r53 - FTS5 uses log(3) which currently breakes non-amd64 builds. Reported by: lwhsu Modified: head/lib/libsqlite3/Makefile Modified: head/lib/libsqlit

svn commit: r333355 - in head/usr.bin/svn: . lib/libsvn_client lib/libsvn_delta lib/libsvn_fs_x lib/libsvn_ra_serf lib/libsvn_ra_svn lib/libsvn_repos lib/libsvn_subr svn

2018-05-07 Thread Peter Wemm
Author: peter Date: Tue May 8 04:54:36 2018 New Revision: 55 URL: https://svnweb.freebsd.org/changeset/base/55 Log: Update svn/svnlite from 1.9.7 to 1.10.0 Modified: head/usr.bin/svn/lib/libsvn_client/Makefile head/usr.bin/svn/lib/libsvn_delta/Makefile head/usr.bin/svn/lib/libsvn

svn commit: r333354 - in head/contrib/subversion: . doc subversion subversion/include subversion/include/private subversion/libsvn_auth_gnome_keyring subversion/libsvn_auth_kwallet subversion/libsv...

2018-05-07 Thread Peter Wemm
Author: peter Date: Tue May 8 04:52:52 2018 New Revision: 54 URL: https://svnweb.freebsd.org/changeset/base/54 Log: Update svn-1.9.7 to 1.10.0. Added: head/contrib/subversion/.editorconfig - copied unchanged from r51, vendor/subversion/dist/.editorconfig head/contrib/subve

svn commit: r333352 - in head/contrib/sqlite3: . tea

2018-05-07 Thread Peter Wemm
Author: peter Date: Tue May 8 04:51:15 2018 New Revision: 52 URL: https://svnweb.freebsd.org/changeset/base/52 Log: Update private sqlite from sqlite3-3.20.0 to sqlite3-3.23.1 Deleted: head/contrib/sqlite3/tea/ Modified: head/contrib/sqlite3/Makefile.am head/contrib/sqlite3/Makef

svn commit: r333353 - head/lib/libsqlite3

2018-05-07 Thread Peter Wemm
Author: peter Date: Tue May 8 04:51:47 2018 New Revision: 53 URL: https://svnweb.freebsd.org/changeset/base/53 Log: Update private sqlite from sqlite3-3.20.0 to sqlite3-3.23.1 Modified: head/lib/libsqlite3/Makefile Modified: head/lib/libsqlite3/Makefile =

svn commit: r333351 - head/usr.bin/grep

2018-05-07 Thread Kyle Evans
Author: kevans Date: Tue May 8 03:53:46 2018 New Revision: 51 URL: https://svnweb.freebsd.org/changeset/base/51 Log: bsdgrep: Allow "-" to be passed to -f to mean "standard input" A version of this patch was originally sent to me by se@, matching behavior from newer versions of G

Re: svn commit: r333346 - head/sys/netinet

2018-05-07 Thread Rodney W. Grimes
> Author: mmacy > Date: Tue May 8 02:22:34 2018 > New Revision: 46 > URL: https://svnweb.freebsd.org/changeset/base/46 > > Log: > Fix spurious retransmit recovery on low latency networks Your commit message quality is defanitly much much better!! Just one little nit... > > TCP'

svn commit: r333346 - head/sys/netinet

2018-05-07 Thread Matt Macy via svn-src-head
Author: mmacy Date: Tue May 8 02:22:34 2018 New Revision: 46 URL: https://svnweb.freebsd.org/changeset/base/46 Log: Fix spurious retransmit recovery on low latency networks TCP's smoothed RTT (SRTT) can be much larger than an actual observed RTT. This can be either because of hz r

Re: svn commit: r333344 - in head/sys: kern sys

2018-05-07 Thread Bruce Evans
On Mon, 7 May 2018, Mateusz Guzik wrote: Log: Inlined sched_userret. The tested condition is rarely true and it induces a function call on each return to userspace. Bumps getuid rate by about 1% on Broadwell. ... Modified: head/sys/kern/sched_4bsd.c

svn commit: r333345 - head/sys/dev/e1000

2018-05-07 Thread Matt Macy
Author: mmacy Date: Tue May 8 01:39:45 2018 New Revision: 45 URL: https://svnweb.freebsd.org/changeset/base/45 Log: Sleep rather than spin in e1000 when doing long running config operations. With r333218 it is now possible for drivers to use an sx lock and thus sleep while waiti

Re: svn commit: r333324 - in head/sys: amd64/amd64 conf

2018-05-07 Thread Bruce Evans
On Tue, 8 May 2018, Bruce Evans wrote: On Mon, 7 May 2018, Mateusz Guzik wrote: Log: amd64: replace libkern's memset and memmove with assembly variants ... memset is repurposed memcpy. The librkern variant is doing fishy stuff, including branching on 0 and calling bzero. You mean the old

svn commit: r333344 - in head/sys: kern sys

2018-05-07 Thread Mateusz Guzik
Author: mjg Date: Mon May 7 23:36:16 2018 New Revision: 44 URL: https://svnweb.freebsd.org/changeset/base/44 Log: Inlined sched_userret. The tested condition is rarely true and it induces a function call on each return to userspace. Bumps getuid rate by about 1% on Broadwell

Re: svn commit: r333324 - in head/sys: amd64/amd64 conf

2018-05-07 Thread Bruce Evans
On Mon, 7 May 2018, Mateusz Guzik wrote: Log: amd64: replace libkern's memset and memmove with assembly variants memmove is repurposed bcopy (arguments swapped, return value added) The libkern variant is a wrapper around bcopy, so this is a big improvement. This is a tiny improvement, per

svn commit: r333342 - in head/sys: kern sys

2018-05-07 Thread Mateusz Guzik
Author: mjg Date: Mon May 7 23:10:12 2018 New Revision: 42 URL: https://svnweb.freebsd.org/changeset/base/42 Log: Change trap_enotcap to bool and annotate with __read_frequently It is read on each return to user space. Modified: head/sys/kern/sys_capability.c head/sys/sys/caps

svn commit: r333339 - in head/sys: kern sys

2018-05-07 Thread Mateusz Guzik
Author: mjg Date: Mon May 7 22:29:32 2018 New Revision: 39 URL: https://svnweb.freebsd.org/changeset/base/39 Log: Avoid calls to syscall_thread_enter/exit for statically defined syscalls The entire mechanism is rarely used and is quite not performant due to atomci ops on the sysc

svn commit: r333337 - head/sys/amd64/amd64

2018-05-07 Thread Mateusz Guzik
Author: mjg Date: Mon May 7 21:32:08 2018 New Revision: 37 URL: https://svnweb.freebsd.org/changeset/base/37 Log: amd64: stop asserting params != NULL in the syscall path The parameter is effectively controllable by userspace. It does not matter what it is set to as it is being p

svn commit: r333333 - in head/sys: kern sys

2018-05-07 Thread Warner Losh
Author: imp Date: Mon May 7 21:09:08 2018 New Revision: 33 URL: https://svnweb.freebsd.org/changeset/base/33 Log: Add device_quiet_children() and device_has_quiet_children() If you add a child to a device that has quiet children, we'll automatically set the quiet flag on the chil

svn commit: r333334 - head/sys/dev/acpica

2018-05-07 Thread Warner Losh
Author: imp Date: Mon May 7 21:09:17 2018 New Revision: 34 URL: https://svnweb.freebsd.org/changeset/base/34 Log: Use device_quiet_children to silence verbose CPU probe messages. Have cpu0 be noisy, but all the other CPU devices be quiet on boot. Modified: head/sys/dev/acpica/ac

svn commit: r333335 - head/sys/x86/x86

2018-05-07 Thread Warner Losh
Author: imp Date: Mon May 7 21:09:21 2018 New Revision: 35 URL: https://svnweb.freebsd.org/changeset/base/35 Log: Put the CPU starting on one line. Modified: head/sys/x86/x86/mp_x86.c Modified: head/sys/x86/x86/mp_x86.c ===

Re: svn commit: r333324 - in head/sys: amd64/amd64 conf

2018-05-07 Thread Mateusz Guzik
On Mon, May 7, 2018 at 9:03 PM, Oliver Pinter wrote: > On 5/7/18, Mateusz Guzik wrote: > > Author: mjg > > Date: Mon May 7 15:07:28 2018 > > New Revision: 24 > > URL: https://svnweb.freebsd.org/changeset/base/24 > > > > Log: > > amd64: replace libkern's memset and memmove with assembl

svn commit: r333332 - head/sys/amd64/amd64

2018-05-07 Thread Mateusz Guzik
Author: mjg Date: Mon May 7 20:54:42 2018 New Revision: 32 URL: https://svnweb.freebsd.org/changeset/base/32 Log: amd64: fix up memset added in r24 There was a missing trick expanding the passed pattern to a full word by multiplication. As a side effect non-zero patterns woul

svn commit: r333330 - head/lib/libcapsicum

2018-05-07 Thread Mariusz Zaborski
Author: oshogbo Date: Mon May 7 20:38:09 2018 New Revision: 30 URL: https://svnweb.freebsd.org/changeset/base/30 Log: Introduce caph_enter and caph_enter_casper. The caph_enter function should made it easier to sandbox application and not force us to remember that we need to chec

Re: svn commit: r333324 - in head/sys: amd64/amd64 conf

2018-05-07 Thread Oliver Pinter
On 5/7/18, Rodney W. Grimes wrote: >> Author: mjg >> Date: Mon May 7 15:07:28 2018 >> New Revision: 24 >> URL: https://svnweb.freebsd.org/changeset/base/24 >> >> Log: >> amd64: replace libkern's memset and memmove with assembly variants >> >> memmove is repurposed bcopy (arguments swa

Re: svn commit: r333324 - in head/sys: amd64/amd64 conf

2018-05-07 Thread Oliver Pinter
On 5/7/18, Oliver Pinter wrote: > On 5/7/18, Mateusz Guzik wrote: >> Author: mjg >> Date: Mon May 7 15:07:28 2018 >> New Revision: 24 >> URL: https://svnweb.freebsd.org/changeset/base/24 >> >> Log: >> amd64: replace libkern's memset and memmove with assembly variants >> >> memmove is

Re: svn commit: r333324 - in head/sys: amd64/amd64 conf

2018-05-07 Thread Oliver Pinter
On 5/7/18, Mateusz Guzik wrote: > Author: mjg > Date: Mon May 7 15:07:28 2018 > New Revision: 24 > URL: https://svnweb.freebsd.org/changeset/base/24 > > Log: > amd64: replace libkern's memset and memmove with assembly variants > > memmove is repurposed bcopy (arguments swapped, return

svn commit: r333329 - head/sys/net

2018-05-07 Thread Andrew Gallatin
Author: gallatin Date: Mon May 7 18:11:22 2018 New Revision: 29 URL: https://svnweb.freebsd.org/changeset/base/29 Log: Fix an off-by-one error when deciding to request a tx interrupt The canonical check for whether or not a ring is drainable is TXQ_AVAIL() > MAX_TX_DESC() + 2. U

Re: svn commit: r333324 - in head/sys: amd64/amd64 conf

2018-05-07 Thread Rodney W. Grimes
[ Charset UTF-8 unsupported, converting... ] > On Mon, May 7, 2018 at 11:28 AM, Rodney W. Grimes < > free...@pdx.rh.cn85.dnsmgr.net> wrote: > > > [ Charset UTF-8 unsupported, converting... ] > > > On Mon, May 7, 2018 at 10:26 AM, Conrad Meyer wrote: > > > > > > > On Mon, May 7, 2018 at 8:45 AM, R

Re: svn commit: r333328 - head/sys/amd64/amd64

2018-05-07 Thread Rodney W. Grimes
[ Charset UTF-8 unsupported, converting... ] > Author: mjg > Date: Mon May 7 17:37:07 2018 > New Revision: 28 > URL: https://svnweb.freebsd.org/changeset/base/28 > > Log: > amd64: tweak the memmove comment regarding authorship > > To make it clear the mentioned author did not write

svn commit: r333328 - head/sys/amd64/amd64

2018-05-07 Thread Mateusz Guzik
Author: mjg Date: Mon May 7 17:37:07 2018 New Revision: 28 URL: https://svnweb.freebsd.org/changeset/base/28 Log: amd64: tweak the memmove comment regarding authorship To make it clear the mentioned author did not write memmove. Modified: head/sys/amd64/amd64/support.S Modified

Re: svn commit: r333324 - in head/sys: amd64/amd64 conf

2018-05-07 Thread Warner Losh
On Mon, May 7, 2018 at 11:28 AM, Rodney W. Grimes < free...@pdx.rh.cn85.dnsmgr.net> wrote: > [ Charset UTF-8 unsupported, converting... ] > > On Mon, May 7, 2018 at 10:26 AM, Conrad Meyer wrote: > > > > > On Mon, May 7, 2018 at 8:45 AM, Rodney W. Grimes > > > wrote: > > > >> + * w...@tools.de

Re: svn commit: r333324 - in head/sys: amd64/amd64 conf

2018-05-07 Thread Rodney W. Grimes
[ Charset UTF-8 unsupported, converting... ] > On Mon, May 7, 2018 at 10:26 AM, Conrad Meyer wrote: > > > On Mon, May 7, 2018 at 8:45 AM, Rodney W. Grimes > > wrote: > > >> + * w...@tools.de (Wolfgang Solfrank, TooLs GmbH) +49-228-985800 > > > > > > If the original is by w...@tools.de, who

Re: svn commit: r332730 - in head/sys: amd64/amd64 i386/i386 powerpc/powerpc

2018-05-07 Thread John Baldwin
On Wednesday, April 18, 2018 03:44:54 PM Andriy Gapon wrote: > Author: avg > Date: Wed Apr 18 15:44:54 2018 > New Revision: 332730 > URL: https://svnweb.freebsd.org/changeset/base/332730 > > Log: > don't check for kdb reentry in trap_fatal(), it's impossible > > trap() checks for it earlier

Re: svn commit: r333324 - in head/sys: amd64/amd64 conf

2018-05-07 Thread Warner Losh
On Mon, May 7, 2018 at 10:26 AM, Conrad Meyer wrote: > On Mon, May 7, 2018 at 8:45 AM, Rodney W. Grimes > wrote: > >> + * w...@tools.de (Wolfgang Solfrank, TooLs GmbH) +49-228-985800 > > > > If the original is by w...@tools.de, who is this version by? > > Or is this simply copied from some

Re: svn commit: r333324 - in head/sys: amd64/amd64 conf

2018-05-07 Thread Conrad Meyer
On Mon, May 7, 2018 at 8:45 AM, Rodney W. Grimes wrote: >> + * w...@tools.de (Wolfgang Solfrank, TooLs GmbH) +49-228-985800 > > If the original is by w...@tools.de, who is this version by? > Or is this simply copied from some other FreeBSD file? This is covered thoroughly in lines 1-10 of th

Re: svn commit: r333324 - in head/sys: amd64/amd64 conf

2018-05-07 Thread Rodney W. Grimes
> Author: mjg > Date: Mon May 7 15:07:28 2018 > New Revision: 24 > URL: https://svnweb.freebsd.org/changeset/base/24 > > Log: > amd64: replace libkern's memset and memmove with assembly variants > > memmove is repurposed bcopy (arguments swapped, return value added) > The libkern

svn commit: r333325 - head/sys/kern

2018-05-07 Thread Andrew Gallatin
Author: gallatin Date: Mon May 7 15:24:03 2018 New Revision: 25 URL: https://svnweb.freebsd.org/changeset/base/25 Log: Boost thread priority while changing CPU frequency Boost the priority of user-space threads when they set their affinity to a core to adjust its frequency. Thi

svn commit: r333324 - in head/sys: amd64/amd64 conf

2018-05-07 Thread Mateusz Guzik
Author: mjg Date: Mon May 7 15:07:28 2018 New Revision: 24 URL: https://svnweb.freebsd.org/changeset/base/24 Log: amd64: replace libkern's memset and memmove with assembly variants memmove is repurposed bcopy (arguments swapped, return value added) The libkern variant is a wrappe

svn commit: r333322 - in head: share/man/man4 sys/netinet

2018-05-07 Thread Alexander Motin
Author: mav Date: Mon May 7 14:44:55 2018 New Revision: 22 URL: https://svnweb.freebsd.org/changeset/base/22 Log: Keep CARP state as INIT when net.inet.carp.allow=0. Currently when net.inet.carp.allow=0 CARP state remains as MASTER, which is not very useful (if there are other ma

svn commit: r333321 - head/sys/x86/x86

2018-05-07 Thread Andriy Gapon
Author: avg Date: Mon May 7 12:22:25 2018 New Revision: 21 URL: https://svnweb.freebsd.org/changeset/base/21 Log: x86 cpususpend_handler: call wbinvd after setting suspend state bits Without a subsequent wbinvd the changes to suspended_cpus (and resuming_cpus) can be lost at leas

svn commit: r333320 - head/sys/dev/extres/clk

2018-05-07 Thread Emmanuel Vadot
Author: manu Date: Mon May 7 09:42:35 2018 New Revision: 20 URL: https://svnweb.freebsd.org/changeset/base/20 Log: clk: clk_set_assigned: Skip frequency of value 0 A frequency of value 0 mean that we don't want to change the frequency so skip it. Modified: head/sys/dev/extres/

svn commit: r333319 - head/sys/arm64/rockchip/clk

2018-05-07 Thread Emmanuel Vadot
Author: manu Date: Mon May 7 07:31:25 2018 New Revision: 19 URL: https://svnweb.freebsd.org/changeset/base/19 Log: arm64: rockchip: cru: Call clk_set_assigned We need to call clk_set_assigned after all the clock have been registered to set the parents/rates described in the dtb.

svn commit: r333318 - head/sys/dev/extres/clk

2018-05-07 Thread Emmanuel Vadot
Author: manu Date: Mon May 7 07:30:40 2018 New Revision: 18 URL: https://svnweb.freebsd.org/changeset/base/18 Log: clk: Add support for assigned-clock-rates The properties 'assigned-clocks', 'assigned-clock-parents' and 'assigned-clock-rates' all work together. 'assigned-clocks

svn commit: r333317 - head/sys/arm64/rockchip/clk

2018-05-07 Thread Emmanuel Vadot
Author: manu Date: Mon May 7 07:29:48 2018 New Revision: 17 URL: https://svnweb.freebsd.org/changeset/base/17 Log: arm64: rockchip: clk: Add support to reparent to clk_composite All clk_composite type have the possibility to reparent (choosing another parent to find a better freq

svn commit: r333316 - head/sys/arm64/rockchip/clk

2018-05-07 Thread Emmanuel Vadot
Author: manu Date: Mon May 7 07:28:47 2018 New Revision: 16 URL: https://svnweb.freebsd.org/changeset/base/16 Log: arm64: rk3328: Add pll rates tables Add the known value to be safe for the rk3328 PLLs Modified: head/sys/arm64/rockchip/clk/rk3328_cru.c Modified: head/sys/arm64/

svn commit: r333315 - head/sys/arm64/rockchip/clk

2018-05-07 Thread Emmanuel Vadot
Author: manu Date: Mon May 7 07:28:10 2018 New Revision: 15 URL: https://svnweb.freebsd.org/changeset/base/15 Log: arm64: rk: Add support for setting pll rate Add support for setting pll rate. On RockChip SoC two kind of plls are supported, integer mode and fractional mode. The

svn commit: r333314 - head/sys/arm64/rockchip/clk

2018-05-07 Thread Emmanuel Vadot
Author: manu Date: Mon May 7 07:26:48 2018 New Revision: 14 URL: https://svnweb.freebsd.org/changeset/base/14 Log: arm64: rockchip: rk3328: Add armclk clock Add the clock definition for the arm clock. While here remove the indexes in the clock table as we will need clock with a