Re: svn commit: r333265 - head/sys/sys

2018-05-04 Thread Bruce Evans
On Fri, 4 May 2018, Mateusz Guzik wrote: Log: Allow the compiler to use __builtin_memcpy In particular this allows the compiler to avoid heavy-handed machinery if the to be copied buffer is small. Reviewed by: jhb Bugs in this: Modified: head/sys/sys/systm.h =

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

2018-05-04 Thread Bruce Evans
On Fri, 4 May 2018, Warner Losh wrote: On Fri, May 4, 2018 at 5:12 PM, Mateusz Guzik wrote: On Sat, May 5, 2018 at 12:58 AM, Steven Hartland < steven.hartl...@multiplay.co.uk> wrote: Can we get the why in commit messages please? This sort of message doesnt provide anything more that can be

svn commit: r333269 - head/sys/dev/amdsbwd

2018-05-04 Thread Andriy Gapon
Author: avg Date: Sat May 5 05:22:11 2018 New Revision: 333269 URL: https://svnweb.freebsd.org/changeset/base/333269 Log: amdsbwd: fix reboot status reporting Originally, I overlooked that PMIO register 0xc0 has a dual personality. It can either be S5/Reset Status register or Misc. Fix r

svn commit: r333268 - head/sys/kern

2018-05-04 Thread Andriy Gapon
Author: avg Date: Sat May 5 05:19:32 2018 New Revision: 333268 URL: https://svnweb.freebsd.org/changeset/base/333268 Log: for bus suspend, detach and shutdown iterate children in reverse order For most buses all children are equal, so the order does not matter. Other buses, such as acpi,

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

2018-05-04 Thread Bruce Evans
On Fri, 4 May 2018, Warner Losh wrote: While i wholeheartedly agree, an earlier commit explained why in this case. It allows the compiler to inline for small copies. [This should have been killfiled due to top-posting.] No, it has nothing to do with that. The compiler can inline either bcopy

Re: svn commit: r318736 - in head: cddl/lib/libzfs contrib/compiler-rt/lib/sanitizer_common contrib/openbsm/libbsm include lib/libarchive lib/libc/gen lib/libc/include lib/libc/sys lib/libkvm lib/libm

2018-05-04 Thread Shawn Webb
On Tue, May 23, 2017 at 09:29:05AM +, Konstantin Belousov wrote: > Author: kib > Date: Tue May 23 09:29:05 2017 > New Revision: 318736 > URL: https://svnweb.freebsd.org/changeset/base/318736 > > Log: > Commit the 64-bit inode project. > > Extend the ino_t, dev_t, nlink_t types to 64-bit

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

2018-05-04 Thread Bruce Evans
On Fri, 4 May 2018, John Baldwin wrote: On Friday, May 04, 2018 06:51:02 AM Matt Macy wrote: Author: mmacy Date: Fri May 4 06:51:01 2018 New Revision: 333242 URL: https://svnweb.freebsd.org/changeset/base/333242 Log: `dup1_processes -t 96 -s 5` on a dual 8160 x dup_before + dup_after

Re: svn commit: r333240 - in head/sys: powerpc/powerpc sys

2018-05-04 Thread Bruce Evans
On Sat, 5 May 2018, Mateusz Guzik wrote: On Fri, May 4, 2018 at 5:53 PM, Brooks Davis wrote: On Fri, May 04, 2018 at 04:00:48AM +, Mateusz Guzik wrote: Author: mjg Date: Fri May 4 04:00:48 2018 New Revision: 333240 URL: https://svnweb.freebsd.org/changeset/base/333240 Log: Allow __bu

Re: svn commit: r333240 - in head/sys: powerpc/powerpc sys

2018-05-04 Thread Bruce Evans
On Fri, 4 May 2018, Conrad Meyer wrote: On Fri, May 4, 2018 at 8:53 AM, Brooks Davis wrote: On Fri, May 04, 2018 at 04:00:48AM +, Mateusz Guzik wrote: Author: mjg Date: Fri May 4 04:00:48 2018 New Revision: 333240 URL: https://svnweb.freebsd.org/changeset/base/333240 Log: Allow __buil

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

2018-05-04 Thread Warner Losh
On Fri, May 4, 2018 at 5:12 PM, Mateusz Guzik wrote: > On Sat, May 5, 2018 at 12:58 AM, Steven Hartland < > steven.hartl...@multiplay.co.uk> wrote: > >> Can we get the why in commit messages please? >> >> This sort of message doesnt provide anything more that can be obtained >> from reading the d

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

2018-05-04 Thread Juli Mallett
On 4 May 2018 at 16:12, Mateusz Guzik wrote: > On Sat, May 5, 2018 at 12:58 AM, Steven Hartland < > steven.hartl...@multiplay.co.uk> wrote: > >> Can we get the why in commit messages please? >> >> This sort of message doesnt provide anything more that can be obtained >> from reading the diff, whi

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

2018-05-04 Thread Rodney W. Grimes
[ Charset UTF-8 unsupported, converting... ] > On Sat, May 5, 2018 at 12:58 AM, Steven Hartland < > steven.hartl...@multiplay.co.uk> wrote: > > > Can we get the why in commit messages please? > > > > This sort of message doesnt provide anything more that can be obtained > > from reading the diff,

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

2018-05-04 Thread Mateusz Guzik
On Sat, May 5, 2018 at 12:58 AM, Steven Hartland < steven.hartl...@multiplay.co.uk> wrote: > Can we get the why in commit messages please? > > This sort of message doesnt provide anything more that can be obtained > from reading the diff, which just leaves us wondering why? > > I’m sure there is a

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

2018-05-04 Thread Warner Losh
While i wholeheartedly agree, an earlier commit explained why in this case. It allows the compiler to inline for small copies. Warner On Fri, May 4, 2018, 4:58 PM Steven Hartland < steven.hartl...@multiplay.co.uk> wrote: > Can we get the why in commit messages please? > > This sort of message do

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

2018-05-04 Thread Steven Hartland
Again why? On Fri, 4 May 2018 at 23:48, Mateusz Guzik wrote: > Author: mjg > Date: Fri May 4 22:48:10 2018 > New Revision: 333267 > URL: https://svnweb.freebsd.org/changeset/base/333267 > > Log: > tc: bcopy -> memcpy > > Modified: > head/sys/kern/kern_tc.c > > Modified: head/sys/kern/kern_t

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

2018-05-04 Thread Steven Hartland
Can we get the why in commit messages please? This sort of message doesnt provide anything more that can be obtained from reading the diff, which just leaves us wondering why? I’m sure there is a good reason, but without confirmation we’re just left guessing. The knock on to this is if some assum

svn commit: r333267 - head/sys/kern

2018-05-04 Thread Mateusz Guzik
Author: mjg Date: Fri May 4 22:48:10 2018 New Revision: 333267 URL: https://svnweb.freebsd.org/changeset/base/333267 Log: tc: bcopy -> memcpy Modified: head/sys/kern/kern_tc.c Modified: head/sys/kern/kern_tc.c == --

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

2018-05-04 Thread Mateusz Guzik
Author: mjg Date: Fri May 4 22:41:12 2018 New Revision: 333266 URL: https://svnweb.freebsd.org/changeset/base/333266 Log: amd64: syscall path bcopy -> memcpy Modified: head/sys/amd64/amd64/trap.c Modified: head/sys/amd64/amd64/trap.c =

Re: svn commit: r333240 - in head/sys: powerpc/powerpc sys

2018-05-04 Thread Mateusz Guzik
On Fri, May 4, 2018 at 5:53 PM, Brooks Davis wrote: > On Fri, May 04, 2018 at 04:00:48AM +, Mateusz Guzik wrote: > > Author: mjg > > Date: Fri May 4 04:00:48 2018 > > New Revision: 333240 > > URL: https://svnweb.freebsd.org/changeset/base/333240 > > > > Log: > > Allow __builtin_memmove ins

svn commit: r333265 - head/sys/sys

2018-05-04 Thread Mateusz Guzik
Author: mjg Date: Fri May 4 22:33:54 2018 New Revision: 333265 URL: https://svnweb.freebsd.org/changeset/base/333265 Log: Allow the compiler to use __builtin_memcpy In particular this allows the compiler to avoid heavy-handed machinery if the to be copied buffer is small. Reviewed b

svn commit: r333264 - head/release/tools

2018-05-04 Thread Glen Barber
Author: gjb Date: Fri May 4 21:17:29 2018 New Revision: 333264 URL: https://svnweb.freebsd.org/changeset/base/333264 Log: Fix a typo. Submitted by: lidl MFC after:3 days MFC with: r333262 Sponsored by: The FreeBSD Foundation Modified: head/release/tools/gce.conf Modified:

svn commit: r333263 - in head: lib/libjail sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/compat/linprocfs sys/compat/linsysfs sys/fs/devfs sys/fs/fdescfs sys/fs/nullfs sys/fs/procfs sys/fs/pse...

2018-05-04 Thread Jamie Gritton
Author: jamie Date: Fri May 4 20:54:27 2018 New Revision: 333263 URL: https://svnweb.freebsd.org/changeset/base/333263 Log: Make it easier for filesystems to count themselves as jail-enabled, by doing most of the work in a new function prison_add_vfs in kern_jail.c Now a jail-enabled filesy

svn commit: r333262 - head/release/tools

2018-05-04 Thread Glen Barber
Author: gjb Date: Fri May 4 20:38:26 2018 New Revision: 333262 URL: https://svnweb.freebsd.org/changeset/base/333262 Log: Ensure the ports and src trees are available on GCE images, satisfying a requirement to allow FreeBSD to be considered a top-tier supported OS in Google Compute Engine.

Re: svn commit: r333261 - head/sys/conf

2018-05-04 Thread Ian Lepore
On Fri, 2018-05-04 at 19:31 +, Matt Macy wrote: > Author: mmacy > Date: Fri May  4 19:31:28 2018 > New Revision: 333261 > URL: https://svnweb.freebsd.org/changeset/base/333261 > > Log: >   % WITHOUT_FORMAT_EXTENSIONS=  XCC=/usr/local/bin/gcc8 make -j96 > buildkernel KERNCONF=GENERIC-NODEBUG -s

Re: svn commit: r333261 - head/sys/conf

2018-05-04 Thread Rodney W. Grimes
[ Charset UTF-8 unsupported, converting... ] > Author: mmacy > Date: Fri May 4 19:31:28 2018 > New Revision: 333261 > URL: https://svnweb.freebsd.org/changeset/base/333261 > > Log: > % WITHOUT_FORMAT_EXTENSIONS= XCC=/usr/local/bin/gcc8 make -j96 buildkernel > KERNCONF=GENERIC-NODEBUG -s >& lo

svn commit: r333261 - head/sys/conf

2018-05-04 Thread Matt Macy
Author: mmacy Date: Fri May 4 19:31:28 2018 New Revision: 333261 URL: https://svnweb.freebsd.org/changeset/base/333261 Log: % WITHOUT_FORMAT_EXTENSIONS= XCC=/usr/local/bin/gcc8 make -j96 buildkernel KERNCONF=GENERIC-NODEBUG -s >& log % grep "inlining failed" log | wc 2343570 36

svn commit: r333260 - head/sys/arm/freescale/imx

2018-05-04 Thread Ian Lepore
Author: ian Date: Fri May 4 19:28:05 2018 New Revision: 333260 URL: https://svnweb.freebsd.org/changeset/base/333260 Log: Properly support the GPIO_PIN_PRESET_{LOW,HIGH} options when configuring a gpio pin. If neither of the options is specified, pre-set the pin's output value to the pin's

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

2018-05-04 Thread John Baldwin
On Friday, May 04, 2018 06:51:02 AM Matt Macy wrote: > Author: mmacy > Date: Fri May 4 06:51:01 2018 > New Revision: 333242 > URL: https://svnweb.freebsd.org/changeset/base/333242 > > Log: > `dup1_processes -t 96 -s 5` on a dual 8160 > > x dup_before > + dup_after > +--

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

2018-05-04 Thread John Baldwin
On Friday, May 04, 2018 11:28:33 AM Sean Bruno wrote: > For the "official" record: > > Approved-by: sbruno > > :-) > > sean > > p.s. silly svn didn't stop this commit, I wonder why. There is no commit hook for mentor approvals. It's on the honor system as it were. -- John Baldwin

Re: svn commit: r333230 - head/sys/dev/pci

2018-05-04 Thread John Baldwin
On Thursday, May 03, 2018 10:51:44 PM Peter Grehan wrote: > Author: grehan > Date: Thu May 3 22:51:44 2018 > New Revision: 333230 > URL: https://svnweb.freebsd.org/changeset/base/333230 > > Log: > Allow PCI VGA devices to be detached. > > GPUs often have a VGA PCI class code and are probed

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

2018-05-04 Thread Matt Macy
Author: mmacy Date: Fri May 4 18:59:01 2018 New Revision: 333259 URL: https://svnweb.freebsd.org/changeset/base/333259 Log: fix case where pidx_last might be used uninitialized Reviewed by: sbruno Modified: head/sys/dev/e1000/em_txrx.c Modified: head/sys/dev/e1000/em_txrx.c ==

svn commit: r333258 - head/sys/net

2018-05-04 Thread Matt Macy
Author: mmacy Date: Fri May 4 18:57:05 2018 New Revision: 333258 URL: https://svnweb.freebsd.org/changeset/base/333258 Log: fix gcc8 warnings Approved by: sbruno Modified: head/sys/net/iflib.c Modified: head/sys/net/iflib.c =

svn commit: r333257 - head/sys/conf

2018-05-04 Thread Matt Macy
Author: mmacy Date: Fri May 4 18:25:07 2018 New Revision: 333257 URL: https://svnweb.freebsd.org/changeset/base/333257 Log: fix gcc8 compile Approved by: sbruno Modified: head/sys/conf/kern.mk Modified: head/sys/conf/kern.mk

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

2018-05-04 Thread Sean Bruno
For the "official" record: Approved-by: sbruno :-) sean p.s. silly svn didn't stop this commit, I wonder why. On 05/04/18 10:20, K. Macy wrote: > Yes. Good catch. Thanks. > > -M > >> >> Missing Approved by: sbruno? >> >> >>> Modified: >>> head/sys/kern/kern_descrip.c >>> >>> Modified: hea

svn commit: r333256 - in head/sys: kern vm

2018-05-04 Thread Mark Johnston
Author: markj Date: Fri May 4 17:17:30 2018 New Revision: 333256 URL: https://svnweb.freebsd.org/changeset/base/333256 Log: Fix some races introduced in r332974. With r332974, when performing a synchronized access of a page's "queue" field, one must first check whether the page is logica

svn commit: r333255 - head/sys/arm/freescale/imx

2018-05-04 Thread Ian Lepore
Author: ian Date: Fri May 4 16:23:54 2018 New Revision: 333255 URL: https://svnweb.freebsd.org/changeset/base/333255 Log: Make reading imx6 gpio pins work correctly whether the pin is in open-drain mode or not. An earlier attempt to make this work was done in r320456, by always reading the

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

2018-05-04 Thread K. Macy
Yes. Good catch. Thanks. -M > > Missing Approved by: sbruno? > > >> Modified: >> head/sys/kern/kern_descrip.c >> >> Modified: head/sys/kern/kern_descrip.c >> == >> --- head/sys/kern/kern_descrip.c Fri May 4 04:05:

Re: svn commit: r333240 - in head/sys: powerpc/powerpc sys

2018-05-04 Thread Conrad Meyer
On Fri, May 4, 2018 at 8:53 AM, Brooks Davis wrote: > On Fri, May 04, 2018 at 04:00:48AM +, Mateusz Guzik wrote: >> Author: mjg >> Date: Fri May 4 04:00:48 2018 >> New Revision: 333240 >> URL: https://svnweb.freebsd.org/changeset/base/333240 >> >> Log: >> Allow __builtin_memmove instead of

Re: svn commit: r333240 - in head/sys: powerpc/powerpc sys

2018-05-04 Thread Brooks Davis
On Fri, May 04, 2018 at 04:00:48AM +, Mateusz Guzik wrote: > Author: mjg > Date: Fri May 4 04:00:48 2018 > New Revision: 333240 > URL: https://svnweb.freebsd.org/changeset/base/333240 > > Log: > Allow __builtin_memmove instead of bcopy for small buffers of known size What is the justificat

svn commit: r333254 - head/sys/net

2018-05-04 Thread Stephen Hurd
Author: shurd Date: Fri May 4 15:20:34 2018 New Revision: 333254 URL: https://svnweb.freebsd.org/changeset/base/333254 Log: iflib: fix invalid free during queue allocation failure In r301567, code was added to cleanup to prevent memory leaks for the Tx and Rx ring structs. This code care

svn commit: r333253 - head/sys/net

2018-05-04 Thread Stephen Hurd
Author: shurd Date: Fri May 4 15:11:16 2018 New Revision: 333253 URL: https://svnweb.freebsd.org/changeset/base/333253 Log: iflib: remove unused brscp pointer from iflib_queues_alloc This pointer was no longer written to as of r315217. Since nothing writes to the variable, remove it.

svn commit: r333252 - stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2018-05-04 Thread Ed Maste
Author: emaste Date: Fri May 4 14:49:37 2018 New Revision: 333252 URL: https://svnweb.freebsd.org/changeset/base/333252 Log: MFC r333234: zfs_ioctl: avoid out-of-bound read admbugs: 796 Submitted by: Domagoj Stolfa Reported by: Ilja Van Sprundel Approved by: re (early MFC as

svn commit: r333251 - head/usr.bin/time

2018-05-04 Thread Alan Somers
Author: asomers Date: Fri May 4 14:39:32 2018 New Revision: 333251 URL: https://svnweb.freebsd.org/changeset/base/333251 Log: time(1): use the monotonic clock The monotonic clock is more appropriate than the realtime clock for measuring durations. Reviewed by: ken, jilles Differe

svn commit: r333250 - head/sys/dts/arm/overlays

2018-05-04 Thread Kyle Evans
Author: kevans Date: Fri May 4 14:38:48 2018 New Revision: 333250 URL: https://svnweb.freebsd.org/changeset/base/333250 Log: arm: overlays: Update to new path-based sugar format Modified: head/sys/dts/arm/overlays/sun8i-a83t-sid.dtso head/sys/dts/arm/overlays/sun8i-h3-sid.dtso Modified: h

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

2018-05-04 Thread Rodney W. Grimes
> Author: mmacy > Date: Fri May 4 06:51:01 2018 > New Revision: 333242 > URL: https://svnweb.freebsd.org/changeset/base/333242 > > Log: > `dup1_processes -t 96 -s 5` on a dual 8160 > > x dup_before > + dup_after > ++ > |

svn commit: r333249 - stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2018-05-04 Thread Ed Maste
Author: emaste Date: Fri May 4 13:40:59 2018 New Revision: 333249 URL: https://svnweb.freebsd.org/changeset/base/333249 Log: MFC r333234: zfs_ioctl: avoid out-of-bound read admbugs: 796 Submitted by: Domagoj Stolfa Reported by: Ilja Van Sprundel Modified: stable/10/sys/cddl/

svn commit: r333248 - head

2018-05-04 Thread Philip Paeps
/UPDATING Fri May 4 10:17:27 2018(r333247) +++ head/UPDATING Fri May 4 10:52:17 2018(r333248) @@ -51,6 +51,13 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 12.x IS SLOW: ** SPECIAL WARNING: ** +20180504: + The tz

svn commit: r333247 - head/contrib/tzdata

2018-05-04 Thread Philip Paeps
Author: philip Date: Fri May 4 10:17:27 2018 New Revision: 333247 URL: https://svnweb.freebsd.org/changeset/base/333247 Log: Import tzdata 2018e Changes: https://github.com/eggert/tz/blob/2018e/NEWS MFC after:3 days Modified: head/contrib/tzdata/Makefile head/contrib/tzdata/N

svn commit: r333246 - vendor/tzdata/tzdata2018e

2018-05-04 Thread Philip Paeps
Author: philip Date: Fri May 4 10:11:18 2018 New Revision: 333246 URL: https://svnweb.freebsd.org/changeset/base/333246 Log: Import tzdata 2018e Added: vendor/tzdata/tzdata2018e/ - copied from r333245, vendor/tzdata/dist/ ___ svn-src-all@freeb

svn commit: r333245 - vendor/tzdata/dist

2018-05-04 Thread Philip Paeps
Author: philip Date: Fri May 4 10:10:21 2018 New Revision: 333245 URL: https://svnweb.freebsd.org/changeset/base/333245 Log: Import tzdata 2018e Modified: vendor/tzdata/dist/Makefile vendor/tzdata/dist/NEWS vendor/tzdata/dist/africa vendor/tzdata/dist/asia vendor/tzdata/dist/australa

svn commit: r333244 - head/sys/netinet

2018-05-04 Thread Andrey V. Elsukov
Author: ae Date: Fri May 4 09:28:12 2018 New Revision: 333244 URL: https://svnweb.freebsd.org/changeset/base/333244 Log: Immediately propagate EACCES error code to application from tcp_output. In r309610 and r315514 the behavior of handling EACCES was changed, and tcp_output() now return

svn commit: r333243 - head/sys/cddl/compat/opensolaris/kern

2018-05-04 Thread Andriy Gapon
Author: avg Date: Fri May 4 07:28:01 2018 New Revision: 333243 URL: https://svnweb.freebsd.org/changeset/base/333243 Log: opensolaris system_taskq does not need to run at maximum priority In fact, this taskqueue should use "boring" threads, nothing special about them. MFC after: