svn commit: r338734 - head/sys/dev/bxe

2018-09-17 Thread David C Somayajulu
Author: davidcs Date: Mon Sep 17 20:15:18 2018 New Revision: 338734 URL: https://svnweb.freebsd.org/changeset/base/338734 Log: Fixed isses: State check before enqueuing transmit task in bxe_link_attn() routine. State check before invoking bxe_nic_unload in bxe_shutdown(). Submitted

svn commit: r338732 - in head: etc lib/libc/rpc

2018-09-17 Thread Brad Davis
Author: brd Date: Mon Sep 17 19:20:50 2018 New Revision: 338732 URL: https://svnweb.freebsd.org/changeset/base/338732 Log: Move rpc and netconfig to lib/libc/rpc/ This uses relative paths to make it more specific to avoid any potential future problems with .PATH and leverages CONFS.

svn commit: r338735 - head/share/mk

2018-09-17 Thread Bryan Drewery
Author: bdrewery Date: Mon Sep 17 22:14:53 2018 New Revision: 338735 URL: https://svnweb.freebsd.org/changeset/base/338735 Log: DIRS: installdirs should also be .PHONY Sponsored by: Dell EMC Approved by: re (gjb, kib) Modified: head/share/mk/bsd.sys.mk Modified:

svn commit: r338736 - head/share/mk

2018-09-17 Thread Bryan Drewery
Author: bdrewery Date: Mon Sep 17 22:15:06 2018 New Revision: 338736 URL: https://svnweb.freebsd.org/changeset/base/338736 Log: PROGS: Don't redundantly process DIRS. Sponsored by: Dell EMC Approved by: re (gjb) Modified: head/share/mk/bsd.progs.mk Modified:

svn commit: r338737 - head/share/mk

2018-09-17 Thread Bryan Drewery
Author: bdrewery Date: Mon Sep 17 22:15:09 2018 New Revision: 338737 URL: https://svnweb.freebsd.org/changeset/base/338737 Log: installdirs can be a recursive/standalone target. Sponsored by: Dell EMC Approved by: re (gjb) Modified: head/share/mk/bsd.subdir.mk Modified:

svn commit: r338738 - head/share/mk

2018-09-17 Thread Bryan Drewery
Author: bdrewery Date: Mon Sep 17 22:15:12 2018 New Revision: 338738 URL: https://svnweb.freebsd.org/changeset/base/338738 Log: DIRS: Rework how duplicated dirs are installed. - Warn if multiple DIRS have conflicting metadata - This fixes META_MODE writing to a very long .meta file that

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

2018-09-17 Thread Konstantin Belousov
Author: kib Date: Mon Sep 17 14:59:05 2018 New Revision: 338711 URL: https://svnweb.freebsd.org/changeset/base/338711 Log: Make the PTI violation check to follow style of the SMAP check. No functional changes. Reviewed by: alc, markj Sponsored by: The FreeBSD Foundation MFC after:

svn commit: r338713 - in head/lib/libc: amd64/string i386/string

2018-09-17 Thread Mateusz Guzik
Author: mjg Date: Mon Sep 17 15:49:35 2018 New Revision: 338713 URL: https://svnweb.freebsd.org/changeset/base/338713 Log: amd64: depessimize userspace memcpy/memmove/bcopy The change resembles what was done in r334537 for kernel routines. While here take care of i386 variants. Note that

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

2018-09-17 Thread Konstantin Belousov
Author: kib Date: Mon Sep 17 15:52:19 2018 New Revision: 338715 URL: https://svnweb.freebsd.org/changeset/base/338715 Log: Use ifunc to resolve context switching mode on amd64. Patch removes all checks for pti/pcid/invpcid from the context switch path. I verified this by looking at the

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

2018-09-17 Thread Konstantin Belousov
Author: kib Date: Mon Sep 17 15:34:19 2018 New Revision: 338712 URL: https://svnweb.freebsd.org/changeset/base/338712 Log: Calculate PTI, PCID and INVPCID modes earlier, before ifuncs are resolved. This will be used in following conversion of pmap_activate_sw(). Reviewed by: alc,

svn commit: r338724 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2018-09-17 Thread Mark Johnston
Author: markj Date: Mon Sep 17 16:16:57 2018 New Revision: 338724 URL: https://svnweb.freebsd.org/changeset/base/338724 Log: Fix an nvpair leak in vdev_geom_read_config(). Also change the behaviour slightly: instead of freeing "config" if the last nvlist doesn't pass the tests, return

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

2018-09-17 Thread Mateusz Guzik
Author: mjg Date: Mon Sep 17 15:51:49 2018 New Revision: 338714 URL: https://svnweb.freebsd.org/changeset/base/338714 Log: amd64: tidy up kernel memmove, take 2 There is no need to use %rax for temporary values and avoiding doing so shortens the func. Handle the explicit 'check for

svn commit: r338739 - head/sbin/dhclient

2018-09-17 Thread Brad Davis
Author: brd Date: Tue Sep 18 00:10:29 2018 New Revision: 338739 URL: https://svnweb.freebsd.org/changeset/base/338739 Log: Remove dhclient.conf from here in prep for the move of it from etc/. This is being done a separate step to ease importing into other VCSes. Approved by: re

svn commit: r338740 - in head: etc sbin/dhclient

2018-09-17 Thread Brad Davis
Author: brd Date: Tue Sep 18 00:11:45 2018 New Revision: 338740 URL: https://svnweb.freebsd.org/changeset/base/338740 Log: Move dhclient.conf to sbin/dhclient/. This also leverages CONFS for handling config files. Approved by: re (gjb), will (mentor) Differential Revision:

svn commit: r338741 - in head: etc libexec/rtld-elf

2018-09-17 Thread Brad Davis
Author: brd Date: Tue Sep 18 00:25:00 2018 New Revision: 338741 URL: https://svnweb.freebsd.org/changeset/base/338741 Log: Move libmap.conf to libexec/rtld-elf/ This leverages CONFS to handle the config file install. Approved by: re (gjb), will (mentor) Differential Revision:

svn commit: r338742 - in head: etc usr.sbin/amd/amd

2018-09-17 Thread Brad Davis
Author: brd Date: Tue Sep 18 00:32:10 2018 New Revision: 338742 URL: https://svnweb.freebsd.org/changeset/base/338742 Log: Move amd.map to usr.sbin/amd/amd/ This leverages CONFS to handle the install of the config file. Approved by: re (gjb), will (mentor) Differential Revision:

svn commit: r338743 - in head/sys: sys vm

2018-09-17 Thread Mateusz Guzik
Author: mjg Date: Tue Sep 18 01:24:30 2018 New Revision: 338743 URL: https://svnweb.freebsd.org/changeset/base/338743 Log: vm: stop taking proc lock in mmap to satisfy racct if it is disabled Limits can be safely obtained with lim_cur from the thread. racct is compiled in but disabled by

svn commit: r338745 - in head: etc lib/libc/posix1e

2018-09-17 Thread Brad Davis
Author: brd Date: Tue Sep 18 01:40:37 2018 New Revision: 338745 URL: https://svnweb.freebsd.org/changeset/base/338745 Log: Move mac.conf to lib/libc/posix1e/ This leverages CONFS to handle the install of the config file. Approved by: re (blanket, pkgbase), will (mentor)

svn commit: r338744 - head/lib/libc/rpc

2018-09-17 Thread Brad Davis
Author: brd Date: Tue Sep 18 01:38:44 2018 New Revision: 338744 URL: https://svnweb.freebsd.org/changeset/base/338744 Log: Fix CONFS to append the value in this case. Approved by: re (blanket, pkgbase), will (mentor) Modified: head/lib/libc/rpc/Makefile.inc Modified:

svn commit: r338729 - in head: etc lib/libc/net

2018-09-17 Thread Brad Davis
Author: brd Date: Mon Sep 17 18:56:47 2018 New Revision: 338729 URL: https://svnweb.freebsd.org/changeset/base/338729 Log: Move hosts, hosts.equiv, networks, nsswitch.conf, protocols to lib/libc/net/ This uses relative paths to make it more specific to avoid any potential future problems

svn commit: r338725 - head/sys/x86/isa

2018-09-17 Thread John Baldwin
Author: jhb Date: Mon Sep 17 17:18:54 2018 New Revision: 338725 URL: https://svnweb.freebsd.org/changeset/base/338725 Log: Fix a regression in r338360 when booting an x86 machine without APIC. The atpic_register_sources callback tries to avoid registering interrupt sources that would

svn commit: r338708 - head/sys/net

2018-09-17 Thread Andrey V. Elsukov
Author: ae Date: Mon Sep 17 10:10:14 2018 New Revision: 338708 URL: https://svnweb.freebsd.org/changeset/base/338708 Log: Restore outbound packets capturing for if_gre(4). It was missed in r335048. Also clear M_MCAST and M_BCAST flags for encapsulated datagram, since it will have new IP