svn commit: r348654 - head/contrib/elftoolchain/elfcopy

2019-06-04 Thread Mark Johnston
Author: markj Date: Tue Jun 4 18:29:08 2019 New Revision: 348654 URL: https://svnweb.freebsd.org/changeset/base/348654 Log: elfcopy: Use elf_getscn() instead of iterating over all sections. When removing a section, we would loop over all sections looking for a corresponding relocation se

svn commit: r348655 - head/contrib/elftoolchain/libelftc

2019-06-04 Thread Mark Johnston
Author: markj Date: Tue Jun 4 18:31:08 2019 New Revision: 348655 URL: https://svnweb.freebsd.org/changeset/base/348655 Log: libelftc: Fix some minor style bugs. Reviewed by: emaste MFC after:1 week Sponsored by: The FreeBSD Foundation Differential Revision:https://review

svn commit: r348657 - head/contrib/elftoolchain/elfcopy

2019-06-04 Thread Mark Johnston
Author: markj Date: Tue Jun 4 18:34:05 2019 New Revision: 348657 URL: https://svnweb.freebsd.org/changeset/base/348657 Log: elfcopy: Use libelftc's string table routines to build .shstrtab. This replaces some hand-rolled routines and is substantially faster since libelftc uses a hash tab

svn commit: r348660 - head/sys/vm

2019-06-04 Thread Mark Johnston
Author: markj Date: Tue Jun 4 18:38:27 2019 New Revision: 348660 URL: https://svnweb.freebsd.org/changeset/base/348660 Log: Remove an outdated header comment for vm_page.c. The listed rules were incomplete and outdated. There is a much more comprehensive comment in vm_page.h. Revie

svn commit: r348715 - stable/12/lib/libelftc

2019-06-05 Thread Mark Johnston
Author: markj Date: Thu Jun 6 02:58:11 2019 New Revision: 348715 URL: https://svnweb.freebsd.org/changeset/base/348715 Log: MFC r348444: libelftc: Add MLINKS. Modified: stable/12/lib/libelftc/Makefile Directory Properties: stable/12/ (props changed) Modified: stable/12/lib/libelftc/Ma

svn commit: r348716 - stable/12/usr.sbin/rpc.yppasswdd

2019-06-05 Thread Mark Johnston
Author: markj Date: Thu Jun 6 03:01:05 2019 New Revision: 348716 URL: https://svnweb.freebsd.org/changeset/base/348716 Log: MFC r348547: rpc.yppasswdd: Fix dirname(3) usage after r305952. PR: 234972 Modified: stable/12/usr.sbin/rpc.yppasswdd/yppasswdd_server.c Directory Properties:

svn commit: r348717 - stable/12/contrib/elftoolchain/readelf

2019-06-05 Thread Mark Johnston
Author: markj Date: Thu Jun 6 03:01:52 2019 New Revision: 348717 URL: https://svnweb.freebsd.org/changeset/base/348717 Log: MFC r348443: readelf: Make -t imply -S, for compatibility with GNU binutils. Modified: stable/12/contrib/elftoolchain/readelf/readelf.1 stable/12/contrib/elftoolcha

svn commit: r348719 - stable/12/contrib/elftoolchain/elfcopy

2019-06-05 Thread Mark Johnston
Author: markj Date: Thu Jun 6 03:02:43 2019 New Revision: 348719 URL: https://svnweb.freebsd.org/changeset/base/348719 Log: MFC r348430: elfcopy: Remove an unneeded memset. Modified: stable/12/contrib/elftoolchain/elfcopy/main.c Directory Properties: stable/12/ (props changed) Modifie

svn commit: r348720 - stable/12/contrib/elftoolchain/elfcopy

2019-06-05 Thread Mark Johnston
Author: markj Date: Thu Jun 6 03:03:54 2019 New Revision: 348720 URL: https://svnweb.freebsd.org/changeset/base/348720 Log: MFC r348431: elfcopy: Optimize for insertions at the end of the section list. PR: 234949 Modified: stable/12/contrib/elftoolchain/elfcopy/elfcopy.h stable/12

svn commit: r348721 - stable/12/lib/libutil

2019-06-05 Thread Mark Johnston
Author: markj Date: Thu Jun 6 03:04:33 2019 New Revision: 348721 URL: https://svnweb.freebsd.org/changeset/base/348721 Log: MFC r348545: Typo. Modified: stable/12/lib/libutil/pw_util.3 Directory Properties: stable/12/ (props changed) Modified: stable/12/lib/libutil/pw_util.3 =

svn commit: r348742 - in head/sys: amd64/amd64 cddl/contrib/opensolaris/uts/common/dtrace i386/i386

2019-06-06 Thread Mark Johnston
Author: markj Date: Thu Jun 6 16:03:25 2019 New Revision: 348742 URL: https://svnweb.freebsd.org/changeset/base/348742 Log: Fix a race between fasttrap and the user breakpoint handler. When disabling the last enabled userspace probe, fasttrap clears the function pointers which hook in to

svn commit: r348743 - in head/sys/compat/linuxkpi/common: include/linux src

2019-06-06 Thread Mark Johnston
Author: markj Date: Thu Jun 6 16:09:19 2019 New Revision: 348743 URL: https://svnweb.freebsd.org/changeset/base/348743 Log: Make the linuxkpi's alloc_pages() consistently return wired pages. Previously it did this only on platforms without a direct map. This also more closely matches Li

svn commit: r348745 - head/sys/net

2019-06-06 Thread Mark Johnston
Author: markj Date: Thu Jun 6 16:22:29 2019 New Revision: 348745 URL: https://svnweb.freebsd.org/changeset/base/348745 Log: Conditionalize an in_epoch() call on INVARIANTS. Its result is only used to determine whether to perform further INVARIANTS-only checks. Remove a stale comment whi

svn commit: r348746 - head/sys/vm

2019-06-06 Thread Mark Johnston
Author: markj Date: Thu Jun 6 16:23:44 2019 New Revision: 348746 URL: https://svnweb.freebsd.org/changeset/base/348746 Log: Remove the volatile qualifer from uma_kmem_total. No functional change intended. Reviewed by: alc, dougm, kib MFC after:1 week Sponsored by: The FreeBSD

svn commit: r348747 - head/sys/vm

2019-06-06 Thread Mark Johnston
Author: markj Date: Thu Jun 6 16:26:58 2019 New Revision: 348747 URL: https://svnweb.freebsd.org/changeset/base/348747 Log: Add sysctls for uma_kmem_{limit,total}. Reviewed by: alc, dougm, kib MFC after:1 week Sponsored by: The FreeBSD Foundation Differential Revision:ht

svn commit: r348751 - head/sys/net

2019-06-06 Thread Mark Johnston
Author: markj Date: Thu Jun 6 17:20:35 2019 New Revision: 348751 URL: https://svnweb.freebsd.org/changeset/base/348751 Log: Restore the comment removed in r348745. LAGG_RLOCK() enters an epoch section, so the comment wasn't stale. Reported by: jhb MFC with: r348745 Modified:

Re: svn commit: r348745 - head/sys/net

2019-06-06 Thread Mark Johnston
On Thu, Jun 06, 2019 at 10:13:13AM -0700, John Baldwin wrote: > On 6/6/19 9:22 AM, Mark Johnston wrote: > > Author: markj > > Date: Thu Jun 6 16:22:29 2019 > > New Revision: 348745 > > URL: https://svnweb.freebsd.org/changeset/base/348745 > > > > Log: >

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

2019-06-06 Thread Mark Johnston
On Thu, Jun 06, 2019 at 12:04:52PM -0600, Alan Somers wrote: > On Thu, Jun 6, 2019 at 12:01 PM John Baldwin wrote: > > > > On 6/6/19 10:39 AM, Alan Somers wrote: > > > On Thu, Jun 6, 2019 at 11:35 AM Rodney W. Grimes > > > wrote: > > >> > > >>> Author: asomers > > >>> Date: Thu Jun 6 15:04:50 20

svn commit: r348780 - stable/12/sys/vm

2019-06-07 Thread Mark Johnston
Author: markj Date: Fri Jun 7 17:05:58 2019 New Revision: 348780 URL: https://svnweb.freebsd.org/changeset/base/348780 Log: MFC r348457: Remove a redundant vm_page_remove() call. Modified: stable/12/sys/vm/vm_page.c Directory Properties: stable/12/ (props changed) Modified: stable/12/

svn commit: r348782 - head/share/examples/bhyve

2019-06-07 Thread Mark Johnston
Author: markj Date: Fri Jun 7 17:54:26 2019 New Revision: 348782 URL: https://svnweb.freebsd.org/changeset/base/348782 Log: vmrun: Add a missing close-paren to the usage message. MFC after:3 days Sponsored by: The FreeBSD Foundation Modified: head/share/examples/bhyve/vmrun.sh Mo

svn commit: r348785 - in head/sys: amd64/amd64 arm/arm arm/nvidia/drm2 compat/linuxkpi/common/src dev/drm2/ttm dev/ti dev/xen/gntdev i386/i386 mips/mips riscv/riscv vm

2019-06-07 Thread Mark Johnston
Author: markj Date: Fri Jun 7 18:23:29 2019 New Revision: 348785 URL: https://svnweb.freebsd.org/changeset/base/348785 Log: Replace uses of vm_page_unwire(m, PQ_NONE) with vm_page_unwire_noq(m). These calls are not the same in general: the former will dequeue the page if it is enqueued,

svn commit: r348826 - stable/12/sys/vm

2019-06-08 Thread Mark Johnston
Author: markj Date: Sun Jun 9 03:29:26 2019 New Revision: 348826 URL: https://svnweb.freebsd.org/changeset/base/348826 Log: MFC r348502: Add a vm_page_wired() predicate. Modified: stable/12/sys/vm/memguard.c stable/12/sys/vm/swap_pager.c stable/12/sys/vm/vm_fault.c stable/12/sys/vm/v

svn commit: r348827 - stable/12/lib/libnetgraph

2019-06-08 Thread Mark Johnston
Author: markj Date: Sun Jun 9 03:31:07 2019 New Revision: 348827 URL: https://svnweb.freebsd.org/changeset/base/348827 Log: MFC r347439: Atomically update the global gMsgId in libnetgraph. PR: 234442 Modified: stable/12/lib/libnetgraph/msg.c Directory Properties: stable/12/ (pro

svn commit: r348864 - stable/12/share/examples/bhyve

2019-06-10 Thread Mark Johnston
Author: markj Date: Mon Jun 10 15:44:09 2019 New Revision: 348864 URL: https://svnweb.freebsd.org/changeset/base/348864 Log: MFC r348782: vmrun: Add a missing close-paren to the usage message. Modified: stable/12/share/examples/bhyve/vmrun.sh Directory Properties: stable/12/ (props chan

svn commit: r348926 - stable/12/sys/vm

2019-06-11 Thread Mark Johnston
Author: markj Date: Tue Jun 11 15:18:50 2019 New Revision: 348926 URL: https://svnweb.freebsd.org/changeset/base/348926 Log: MFC r348660: Remove an outdated header comment for vm_page.c. Modified: stable/12/sys/vm/vm_page.c Directory Properties: stable/12/ (props changed) Modified: sta

svn commit: r348927 - stable/12/contrib/elftoolchain/libelftc

2019-06-11 Thread Mark Johnston
Author: markj Date: Tue Jun 11 15:19:22 2019 New Revision: 348927 URL: https://svnweb.freebsd.org/changeset/base/348927 Log: MFC r348655: libelftc: Fix some minor style bugs. Modified: stable/12/contrib/elftoolchain/libelftc/elftc_string_table.c stable/12/contrib/elftoolchain/libelftc/elf

svn commit: r349014 - in stable/12/sys/compat/linuxkpi/common: include/linux src

2019-06-13 Thread Mark Johnston
Author: markj Date: Thu Jun 13 16:32:03 2019 New Revision: 349014 URL: https://svnweb.freebsd.org/changeset/base/349014 Log: MFC r348743: Make the linuxkpi's alloc_pages() consistently return wired pages. Modified: stable/12/sys/compat/linuxkpi/common/include/linux/gfp.h stable/12/sys/com

svn commit: r349015 - stable/12/sys/net

2019-06-13 Thread Mark Johnston
Author: markj Date: Thu Jun 13 16:33:01 2019 New Revision: 349015 URL: https://svnweb.freebsd.org/changeset/base/349015 Log: MFC r348745, r348751: Conditionalize an in_epoch() call on INVARIANTS. Modified: stable/12/sys/net/if_lagg.c Directory Properties: stable/12/ (props changed) Mod

svn commit: r349016 - in stable/12/sys: amd64/amd64 cddl/contrib/opensolaris/uts/common/dtrace i386/i386

2019-06-13 Thread Mark Johnston
Author: markj Date: Thu Jun 13 16:33:55 2019 New Revision: 349016 URL: https://svnweb.freebsd.org/changeset/base/349016 Log: MFC r348742: Fix a race between fasttrap and the user breakpoint handler. Modified: stable/12/sys/amd64/amd64/trap.c stable/12/sys/cddl/contrib/opensolaris/uts/comm

svn commit: r349017 - stable/12/sys/vm

2019-06-13 Thread Mark Johnston
Author: markj Date: Thu Jun 13 16:34:25 2019 New Revision: 349017 URL: https://svnweb.freebsd.org/changeset/base/349017 Log: MFC r348746: Remove the volatile qualifer from uma_kmem_total. Modified: stable/12/sys/vm/uma_core.c Directory Properties: stable/12/ (props changed) Modified: s

svn commit: r349018 - stable/12/sys/vm

2019-06-13 Thread Mark Johnston
Author: markj Date: Thu Jun 13 16:34:55 2019 New Revision: 349018 URL: https://svnweb.freebsd.org/changeset/base/349018 Log: MFC r348747: Add sysctls for uma_kmem_{limit,total}. Modified: stable/12/sys/vm/uma_core.c Directory Properties: stable/12/ (props changed) Modified: stable/12/s

svn commit: r349139 - in stable/12/sys: amd64/amd64 arm/arm arm/nvidia/drm2 compat/linuxkpi/common/src dev/drm2/ttm dev/ti dev/xen/gntdev i386/i386 mips/mips riscv/riscv vm

2019-06-17 Thread Mark Johnston
Author: markj Date: Mon Jun 17 15:11:04 2019 New Revision: 349139 URL: https://svnweb.freebsd.org/changeset/base/349139 Log: MFC r348785: Replace uses of vm_page_unwire(m, PQ_NONE) with vm_page_unwire_noq(m). Modified: stable/12/sys/amd64/amd64/pmap.c stable/12/sys/arm/arm/pmap-v6.c sta

svn commit: r349140 - in stable/12: sbin/devd sys/dev/acpica

2019-06-17 Thread Mark Johnston
Author: markj Date: Mon Jun 17 15:11:54 2019 New Revision: 349140 URL: https://svnweb.freebsd.org/changeset/base/349140 Log: MFC r348459: acpi_dock(4): Notify devd(8) on dock status change. PR: 238138 Modified: stable/12/sbin/devd/devd.conf.5 stable/12/sys/dev/acpica/acpi_dock.c Di

svn commit: r349141 - in stable/12: share/man/man9 sys/kern sys/sys

2019-06-17 Thread Mark Johnston
Author: markj Date: Mon Jun 17 15:13:15 2019 New Revision: 349141 URL: https://svnweb.freebsd.org/changeset/base/349141 Log: MFC r347949, r347955: Implement the M_NEXTFIT allocation strategy for vmem(9). Modified: stable/12/share/man/man9/vmem.9 stable/12/sys/kern/subr_vmem.c stable/12/

svn commit: r349142 - stable/12/sys/vm

2019-06-17 Thread Mark Johnston
Author: markj Date: Mon Jun 17 15:14:26 2019 New Revision: 349142 URL: https://svnweb.freebsd.org/changeset/base/349142 Log: MFC r347950: Use M_NEXTFIT in memguard(9). Modified: stable/12/sys/vm/memguard.c Directory Properties: stable/12/ (props changed) Modified: stable/12/sys/vm/memg

svn commit: r349148 - head/share/man/man3

2019-06-17 Thread Mark Johnston
Author: markj Date: Mon Jun 17 16:57:44 2019 New Revision: 349148 URL: https://svnweb.freebsd.org/changeset/base/349148 Log: Add some missing MLINKs for tree(3). MFC after:3 days Modified: head/share/man/man3/Makefile Modified: head/share/man/man3/Makefile ==

svn commit: r301413 - head/usr.bin/getent

2016-06-04 Thread Mark Johnston
Author: markj Date: Sat Jun 4 21:34:06 2016 New Revision: 301413 URL: https://svnweb.freebsd.org/changeset/base/301413 Log: Document getent(1)'s ability to enumerate netgroup members. MFC after:3 days Modified: head/usr.bin/getent/getent.1 head/usr.bin/getent/getent.c Modified: h

svn commit: r301524 - vendor-sys/illumos/dist/uts/common/dtrace

2016-06-06 Thread Mark Johnston
Author: markj Date: Mon Jun 6 22:06:45 2016 New Revision: 301524 URL: https://svnweb.freebsd.org/changeset/base/301524 Log: 7034 negative record sizes should be rejected Reviewed by: Patrick Mooney Reviewed by: Bryan Cantrill Approved by: Matthew Ahrens Author: Alex Wilson i

svn commit: r301525 - vendor-sys/illumos/dist/uts/common/dtrace

2016-06-06 Thread Mark Johnston
Author: markj Date: Mon Jun 6 22:07:55 2016 New Revision: 301525 URL: https://svnweb.freebsd.org/changeset/base/301525 Log: 7033 ustack helper should fault on bad return values Reviewed by: Patrick Mooney Reviewed by: Bryan Cantrill Approved by: Matthew Ahrens Author: Alex Wilson

svn commit: r301526 - in vendor-sys/illumos/dist/uts/common: dtrace sys

2016-06-06 Thread Mark Johnston
Author: markj Date: Mon Jun 6 22:09:22 2016 New Revision: 301526 URL: https://svnweb.freebsd.org/changeset/base/301526 Log: 7035 string-related subroutines should validate input earlier Reviewed by: Alex Wilson Reviewed by: Bryan Cantrill Approved by: Matthew Ahrens Author: Patric

svn commit: r301709 - head/lib/libc/gen

2016-06-08 Thread Mark Johnston
Author: markj Date: Thu Jun 9 01:05:23 2016 New Revision: 301709 URL: https://svnweb.freebsd.org/changeset/base/301709 Log: Use a more common spelling for "(char *)0" in the getnetgrent man page. MFC after:3 days Modified: head/lib/libc/gen/getnetgrent.3 Modified: head/lib/libc/gen

svn commit: r301710 - head/lib/libc/gen

2016-06-08 Thread Mark Johnston
Author: markj Date: Thu Jun 9 01:11:48 2016 New Revision: 301710 URL: https://svnweb.freebsd.org/changeset/base/301710 Log: Fix an infinite loop in setnetgrent(3) with NIS netgroups. Handle an empty result from yp_match() by returning NULL, which is consistent with the handling of an emp

svn commit: r301711 - in head: etc include lib/libc/gen share/man/man5

2016-06-08 Thread Mark Johnston
Author: markj Date: Thu Jun 9 01:28:44 2016 New Revision: 301711 URL: https://svnweb.freebsd.org/changeset/base/301711 Log: Implement an NSS backend for netgroups and add getnetgrent_r(3). This support appears to have been documented in nsswitch.conf(5) for some time. The implementation

svn commit: r301727 - head/sys/kern

2016-06-09 Thread Mark Johnston
Author: markj Date: Thu Jun 9 13:17:08 2016 New Revision: 301727 URL: https://svnweb.freebsd.org/changeset/base/301727 Log: Fix some cosmetic issues in kern_fail.c omitted from r296927. Obtained from:Matthew Bryan Modified: head/sys/kern/kern_fail.c Modified: head/sys/kern/ker

svn commit: r301877 - head/sys/compat/linuxkpi/common/src

2016-06-13 Thread Mark Johnston
Author: markj Date: Tue Jun 14 03:57:00 2016 New Revision: 301877 URL: https://svnweb.freebsd.org/changeset/base/301877 Log: Add a missing error check for a malloc() call in idr_get(). Submitted by: Matt Joras Approved by: re (gjb) MFC after:1 week Sponsored by: EMC / Isilon Sto

svn commit: r302091 - head/sys/geom/mirror

2016-06-22 Thread Mark Johnston
Author: markj Date: Wed Jun 22 21:00:28 2016 New Revision: 302091 URL: https://svnweb.freebsd.org/changeset/base/302091 Log: Do not complete pending gmirror BIOs when tearing down the provider. This will result in lock recursion and is more generally incorrect since the completion handler

svn commit: r302147 - head/sys/x86/acpica

2016-06-23 Thread Mark Johnston
Author: markj Date: Thu Jun 23 19:24:38 2016 New Revision: 302147 URL: https://svnweb.freebsd.org/changeset/base/302147 Log: Use M_NOWAIT when allocating memory for the ACPI wakeup handler. If the allocation attempt fails, we may otherwise VM_WAIT after a failed attempt to reclaim contigu

svn commit: r302179 - head/usr.bin/gcore

2016-06-24 Thread Mark Johnston
Author: markj Date: Fri Jun 24 20:21:32 2016 New Revision: 302179 URL: https://svnweb.freebsd.org/changeset/base/302179 Log: gcore: Forward pending signals when detaching from the target. Otherwise gcore's ptrace attach operation can race with delivery of a signal and cause it to be lost.

svn commit: r302346 - head/sys/kern

2016-07-05 Thread Mark Johnston
Author: markj Date: Tue Jul 5 17:59:04 2016 New Revision: 302346 URL: https://svnweb.freebsd.org/changeset/base/302346 Log: Ensure that spinlock sections are balanced even after a panic. vpanic() uses spinlock_enter() to disable interrupts before dumping core. However, when the scheduler

svn commit: r302507 - head/sys/cddl/contrib/opensolaris/uts/common/dtrace

2016-07-09 Thread Mark Johnston
Author: markj Date: Sat Jul 9 22:41:21 2016 New Revision: 302507 URL: https://svnweb.freebsd.org/changeset/base/302507 Log: Avoid truncating the return value of DTrace predicates. Predicates are DIF objects whose return value is compared with zero to determine whether the corresponding p

svn commit: r302792 - head/usr.bin/gcore

2016-07-13 Thread Mark Johnston
Author: markj Date: Thu Jul 14 00:32:27 2016 New Revision: 302792 URL: https://svnweb.freebsd.org/changeset/base/302792 Log: Remove gcore's -s option. It has no effect and is always implicitly set since ptrace(2) stops the target process. Modified: head/usr.bin/gcore/extern.h head/us

svn commit: r302793 - head/sys/x86/acpica

2016-07-13 Thread Mark Johnston
Author: markj Date: Thu Jul 14 00:38:04 2016 New Revision: 302793 URL: https://svnweb.freebsd.org/changeset/base/302793 Log: Allow ACPI wakeup code and page tables to be stored in non-contiguous pages. Since these pages are allocated from a narrow range of memory, this makes the allocatio

svn commit: r302794 - head/sys/geom/mirror

2016-07-13 Thread Mark Johnston
Author: markj Date: Thu Jul 14 00:40:24 2016 New Revision: 302794 URL: https://svnweb.freebsd.org/changeset/base/302794 Log: Move some gmirror metadata update messages to a higher debug level. These can be printed quite frequently from a mostly-idle mirror, cluttering the console. MF

svn commit: r302796 - in head: etc/defaults share/man/man5

2016-07-13 Thread Mark Johnston
Author: markj Date: Thu Jul 14 00:41:37 2016 New Revision: 302796 URL: https://svnweb.freebsd.org/changeset/base/302796 Log: Remove more references to mroute6d, which was removed in r298512. Modified: head/etc/defaults/rc.conf head/share/man/man5/rc.conf.5 Modified: head/etc/defaults/rc.co

svn commit: r302797 - head/share/man/man4

2016-07-13 Thread Mark Johnston
Author: markj Date: Thu Jul 14 00:42:27 2016 New Revision: 302797 URL: https://svnweb.freebsd.org/changeset/base/302797 Log: Document DDB's "alltrace" and "show all trace" commands. MFC after:3 days Modified: head/share/man/man4/ddb.4 Modified: head/share/man/man4/ddb.4

svn commit: r302854 - head/sys/kern

2016-07-14 Thread Mark Johnston
Author: markj Date: Thu Jul 14 18:49:05 2016 New Revision: 302854 URL: https://svnweb.freebsd.org/changeset/base/302854 Log: Let DDB's buf printer handle NULL pointers in the buf page array. A buf's b_pages and b_npages fields may be inconsistent after a panic. For instance, vfs_vmio_inva

svn commit: r302909 - stable/10/sys/cddl/contrib/opensolaris/uts/common/dtrace

2016-07-15 Thread Mark Johnston
Author: markj Date: Fri Jul 15 19:10:32 2016 New Revision: 302909 URL: https://svnweb.freebsd.org/changeset/base/302909 Log: MFC r302507: Avoid truncating the return value of DTrace predicates. Modified: stable/10/sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c Directory Properties:

svn commit: r302910 - stable/9/sys/cddl/contrib/opensolaris/uts/common/dtrace

2016-07-15 Thread Mark Johnston
Author: markj Date: Fri Jul 15 19:14:28 2016 New Revision: 302910 URL: https://svnweb.freebsd.org/changeset/base/302910 Log: MFC r302507: Avoid truncating the return value of DTrace predicates. Modified: stable/9/sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c Directory Properties:

svn commit: r302913 - stable/11/sys/cddl/contrib/opensolaris/uts/common/dtrace

2016-07-15 Thread Mark Johnston
Author: markj Date: Fri Jul 15 20:26:28 2016 New Revision: 302913 URL: https://svnweb.freebsd.org/changeset/base/302913 Log: MFC r302507: Avoid truncating the return value of DTrace predicates. Approved by: re (gjb) Modified: stable/11/sys/cddl/contrib/opensolaris/uts/common/dtrace/dt

svn commit: r302922 - stable/10/sys/vm

2016-07-15 Thread Mark Johnston
Author: markj Date: Sat Jul 16 02:47:56 2016 New Revision: 302922 URL: https://svnweb.freebsd.org/changeset/base/302922 Log: MFC r301210: Don't preserve the page's object linkage in vm_page_insert_after(). Modified: stable/10/sys/vm/vm_page.c Directory Properties: stable/10/ (props chan

svn commit: r302923 - stable/10/sys/vm

2016-07-15 Thread Mark Johnston
Author: markj Date: Sat Jul 16 02:49:02 2016 New Revision: 302923 URL: https://svnweb.freebsd.org/changeset/base/302923 Log: MFC r301212: Reset the page busy lock state after failing to insert into the object. Modified: stable/10/sys/vm/vm_page.c Directory Properties: stable/10/ (props

svn commit: r302924 - stable/10/usr.bin/mkimg

2016-07-15 Thread Mark Johnston
Author: markj Date: Sat Jul 16 02:53:52 2016 New Revision: 302924 URL: https://svnweb.freebsd.org/changeset/base/302924 Log: MFC r301090: mkimg: Indicate that input file pages are unlikely to be reused. Modified: stable/10/usr.bin/mkimg/image.c Directory Properties: stable/10/ (props ch

svn commit: r302925 - stable/10/sys/kern

2016-07-15 Thread Mark Johnston
Author: markj Date: Sat Jul 16 02:55:02 2016 New Revision: 302925 URL: https://svnweb.freebsd.org/changeset/base/302925 Log: MFC r302346: Ensure that spinlock sections are balanced even after a panic. Modified: stable/10/sys/kern/kern_mutex.c Directory Properties: stable/10/ (props chan

svn commit: r302926 - stable/10/sys/ofed/include/linux

2016-07-15 Thread Mark Johnston
Author: markj Date: Sat Jul 16 02:57:37 2016 New Revision: 302926 URL: https://svnweb.freebsd.org/changeset/base/302926 Log: MFC r301877: Add a missing error check for a malloc() call in idr_get(). Modified: stable/10/sys/ofed/include/linux/linux_idr.c Directory Properties: stable/10/ (

svn commit: r303050 - in head/sys: cddl/dev/dtrace/amd64 cddl/dev/dtrace/i386 cddl/dev/dtrace/x86 conf

2016-07-19 Thread Mark Johnston
Author: markj Date: Wed Jul 20 00:02:10 2016 New Revision: 303050 URL: https://svnweb.freebsd.org/changeset/base/303050 Log: Merge {amd64,i386}/instr_size.c into x86_instr_size.c. Also reduce the diff between us and upstream: the input data model will always be DATAMODEL_NATIVE because of

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

2016-07-19 Thread Mark Johnston
Author: markj Date: Wed Jul 20 00:09:22 2016 New Revision: 303052 URL: https://svnweb.freebsd.org/changeset/base/303052 Log: Make vm_pageout_wakeup_thresh a u_int rather than an int. It's a threshold for v_free_count, which is of type u_int. This also lets us get rid of a cast in vm_pagin

svn commit: r303056 - stable/10/share/man/man4

2016-07-19 Thread Mark Johnston
Author: markj Date: Wed Jul 20 00:51:09 2016 New Revision: 303056 URL: https://svnweb.freebsd.org/changeset/base/303056 Log: MFC r302797: Document DDB's "alltrace" and "show all trace" commands. Modified: stable/10/share/man/man4/ddb.4 Directory Properties: stable/10/ (props changed) M

svn commit: r303057 - stable/10/sys/geom/mirror

2016-07-19 Thread Mark Johnston
Author: markj Date: Wed Jul 20 00:52:11 2016 New Revision: 303057 URL: https://svnweb.freebsd.org/changeset/base/303057 Log: MFC r302091: Do not complete pending gmirror BIOs when tearing down the provider. Modified: stable/10/sys/geom/mirror/g_mirror.c Directory Properties: stable/10/

svn commit: r303058 - stable/10/usr.bin/gcore

2016-07-19 Thread Mark Johnston
Author: markj Date: Wed Jul 20 00:53:21 2016 New Revision: 303058 URL: https://svnweb.freebsd.org/changeset/base/303058 Log: MFC r302179: gcore: Forward pending signals when detaching from the target. Modified: stable/10/usr.bin/gcore/elfcore.c Directory Properties: stable/10/ (props ch

svn commit: r303059 - head/sys/vm

2016-07-19 Thread Mark Johnston
Author: markj Date: Wed Jul 20 01:01:50 2016 New Revision: 303059 URL: https://svnweb.freebsd.org/changeset/base/303059 Log: Release the second critical section in uma_zfree_arg() slightly earlier. It is only needed when removing a full bucket from the per-CPU cache. The bucket cache (uz_

svn commit: r340658 - in stable/12/sys: dev/mrsas kern

2018-11-19 Thread Mark Johnston
Author: markj Date: Tue Nov 20 00:55:51 2018 New Revision: 340658 URL: https://svnweb.freebsd.org/changeset/base/340658 Log: MFC r340192: Use plain atomic_{add,subtract} when that's sufficient. Modified: stable/12/sys/dev/mrsas/mrsas.h stable/12/sys/kern/uipc_mqueue.c stable/12/sys/kern

svn commit: r340659 - in stable/12/sys: kern vm

2018-11-19 Thread Mark Johnston
Author: markj Date: Tue Nov 20 00:56:54 2018 New Revision: 340659 URL: https://svnweb.freebsd.org/changeset/base/340659 Log: MFC r340205: Avoid specifying VM_PROT_EXECUTE in mappings from pipe_map and exec_map. Modified: stable/12/sys/kern/sys_pipe.c stable/12/sys/vm/vm_kern.c Directory P

svn commit: r340660 - in stable/11/sys: kern vm

2018-11-19 Thread Mark Johnston
Author: markj Date: Tue Nov 20 01:12:21 2018 New Revision: 340660 URL: https://svnweb.freebsd.org/changeset/base/340660 Log: MFC r340205: Avoid specifying VM_PROT_EXECUTE in mappings from pipe_map and exec_map. Modified: stable/11/sys/kern/sys_pipe.c stable/11/sys/vm/vm_kern.c Directory P

svn commit: r340678 - head/sys/arm64/arm64

2018-11-20 Thread Mark Johnston
Author: markj Date: Tue Nov 20 15:12:37 2018 New Revision: 340678 URL: https://svnweb.freebsd.org/changeset/base/340678 Log: Handle kernel superpage mappings in pmap_remove_l2(). PR: 233088 Reviewed by: alc, andrew, kib Tested by:sbruno MFC after:3 days Sponsored

svn commit: r340680 - stable/12/sys/arm64/arm64

2018-11-20 Thread Mark Johnston
Author: markj Date: Tue Nov 20 16:35:53 2018 New Revision: 340680 URL: https://svnweb.freebsd.org/changeset/base/340680 Log: MFC r340678: Handle kernel superpage mappings in pmap_remove_l2(). Modified: stable/12/sys/arm64/arm64/pmap.c Directory Properties: stable/12/ (props changed) Mo

svn commit: r340685 - releng/12.0/sys/arm64/arm64

2018-11-20 Thread Mark Johnston
Author: markj Date: Tue Nov 20 17:43:24 2018 New Revision: 340685 URL: https://svnweb.freebsd.org/changeset/base/340685 Log: MFstable/12 r340680: Handle kernel superpage mappings in pmap_remove_l2(). PR: 233088 Approved by: re (gjb) Modified: releng/12.0/sys/arm64/arm64/pm

svn commit: r340686 - head/sbin/dumpon

2018-11-20 Thread Mark Johnston
Author: markj Date: Tue Nov 20 18:10:56 2018 New Revision: 340686 URL: https://svnweb.freebsd.org/changeset/base/340686 Log: Avoid clobbering a user-specified -g value after r340547. CID: 1396919 MFC with: r340547 Modified: head/sbin/dumpon/dumpon.c Modified: head/sbin/du

svn commit: r340687 - head/tests/sys/netinet

2018-11-20 Thread Mark Johnston
Author: markj Date: Tue Nov 20 18:13:18 2018 New Revision: 340687 URL: https://svnweb.freebsd.org/changeset/base/340687 Log: Plug a trivial memory leak. CID: 1396911 MFC with: r340485 Modified: head/tests/sys/netinet/ip_reass_test.c Modified: head/tests/sys/netinet/ip_rea

svn commit: r340699 - head/sys/kern

2018-11-20 Thread Mark Johnston
Author: markj Date: Tue Nov 20 20:32:10 2018 New Revision: 340699 URL: https://svnweb.freebsd.org/changeset/base/340699 Log: Clear pad bytes in the struct exported by kern.ntp_pll.gettime. Reported by: Thomas Barabosch, Fraunhofer FKIE MFC after:3 days Sponsored by: The FreeBSD Fou

Re: svn commit: r340709 - in head/sys: compat/linuxkpi/common/include/linux vm

2018-11-20 Thread Mark Johnston
On Tue, Nov 20, 2018 at 10:49:19PM +, Ben Widawsky wrote: > Author: bwidawsk > Date: Tue Nov 20 22:49:19 2018 > New Revision: 340709 > URL: https://svnweb.freebsd.org/changeset/base/340709 > > Log: > linuxkpi: Add some basic swap functions > > These are used by kms-drm to determine vari

Re: svn commit: r340709 - in head/sys: compat/linuxkpi/common/include/linux vm

2018-11-20 Thread Mark Johnston
On Tue, Nov 20, 2018 at 04:42:39PM -0800, Ben Widawsky wrote: > On 18-11-20 19:35:15, Mark Johnston wrote: > > On Tue, Nov 20, 2018 at 10:49:19PM +, Ben Widawsky wrote: > > > Author: bwidawsk > > > Date: Tue Nov 20 22:49:19 2018 > > > New Revision: 340709 &

svn commit: r340727 - stable/12/sbin/dumpon

2018-11-21 Thread Mark Johnston
peared in .Fx 2.0.5 . -.Sh BUGS -Because the file system layer is already dead by the time a crash dump -is taken, it is not possible to send crash dumps directly to a file. .Pp +Support for encrypted kernel core dumps and netdump was added in +.Fx 12.0 . +.Sh AUTHORS +The +.Nm +manual page was

svn commit: r340728 - stable/12/sbin/dumpon

2018-11-21 Thread Mark Johnston
Author: markj Date: Wed Nov 21 17:07:07 2018 New Revision: 340728 URL: https://svnweb.freebsd.org/changeset/base/340728 Log: MFC r340547, r340686: Change dumpon(8)'s handling of -g. Modified: stable/12/sbin/dumpon/dumpon.8 stable/12/sbin/dumpon/dumpon.c Directory Properties: stable/12/

svn commit: r340730 - in head: share/man/man9 sys/kern sys/sys

2018-11-21 Thread Mark Johnston
Author: markj Date: Wed Nov 21 17:18:27 2018 New Revision: 340730 URL: https://svnweb.freebsd.org/changeset/base/340730 Log: Add a taskqueue_quiesce(9) KPI. This is similar to taskqueue_drain_all(9) but will wait for the queue to become idle before returning instead of only waiting for

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

2018-11-21 Thread Mark Johnston
Author: markj Date: Wed Nov 21 17:19:08 2018 New Revision: 340731 URL: https://svnweb.freebsd.org/changeset/base/340731 Log: Use taskqueue_quiesce(9) to implement taskq_wait(). PR: 227784 Reviewed by: cem MFC after:1 week Sponsored by: The FreeBSD Foundation Different

Re: svn commit: r340731 - head/sys/cddl/compat/opensolaris/kern

2018-11-21 Thread Mark Johnston
On Wed, Nov 21, 2018 at 05:19:08PM +, Mark Johnston wrote: > Author: markj > Date: Wed Nov 21 17:19:08 2018 > New Revision: 340731 > URL: https://svnweb.freebsd.org/changeset/base/340731 > > Log: > Use taskqueue_quiesce(9) to implement taskq_wait(). > > PR:

svn commit: r340732 - releng/12.0/sbin/dumpon

2018-11-21 Thread Mark Johnston
RS +The +.Nm +manual page was written by +.An Mark Johnston Aq Mt ma...@freebsd.org , +.An Conrad Meyer Aq Mt c...@freebsd.org , +.An Konrad Witaszczyk Aq Mt d...@freebsd.org , +and countless others. +.Sh CAVEATS +To configure encrypted kernel core dumps, the running kernel must have been +compile

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

2018-11-21 Thread Mark Johnston
Author: markj Date: Wed Nov 21 17:28:10 2018 New Revision: 340733 URL: https://svnweb.freebsd.org/changeset/base/340733 Log: Remove KN_HASKQLOCK. It is a write-only flag whose last use was removed in r302235. No functional change intended. Reviewed by: kib MFC after:1 week

svn commit: r340734 - head/sys/kern

2018-11-21 Thread Mark Johnston
Author: markj Date: Wed Nov 21 17:32:09 2018 New Revision: 340734 URL: https://svnweb.freebsd.org/changeset/base/340734 Log: Avoid unsynchronized updates to kn_status. kn_status is protected by the kqueue's lock, but we were updating it without the kqueue lock held. For EVFILT_TIMER knot

svn commit: r340736 - releng/12.0/sbin/dumpon

2018-11-21 Thread Mark Johnston
Author: markj Date: Wed Nov 21 17:47:40 2018 New Revision: 340736 URL: https://svnweb.freebsd.org/changeset/base/340736 Log: MFstable/12 r340728: Change dumpon(8)'s handling of -g. Approved by: re (gjb) Modified: releng/12.0/sbin/dumpon/dumpon.8 releng/12.0/sbin/dumpon/dumpon.c Dire

Re: svn commit: r340709 - in head/sys: compat/linuxkpi/common/include/linux vm

2018-11-21 Thread Mark Johnston
On Wed, Nov 21, 2018 at 08:07:16AM +0200, Konstantin Belousov wrote: > On Tue, Nov 20, 2018 at 04:58:32PM -0800, Ben Widawsky wrote: > > On 18-11-20 19:51:48, Mark Johnston wrote: > > > On Tue, Nov 20, 2018 at 04:42:39PM -0800, Ben Widawsky wrote: > > > > On 18-11-20

Re: svn commit: r339516 - head/sys/cddl/dev/dtrace/powerpc

2018-11-21 Thread Mark Johnston
On Wed, Nov 21, 2018 at 10:02:15PM -0600, Kyle Evans wrote: > On Wed, Nov 21, 2018 at 9:42 PM Kyle Evans wrote: > > > > On Sat, Oct 20, 2018 at 9:09 PM Justin Hibbits wrote: > > > > > > Author: jhibbits > > > Date: Sun Oct 21 02:08:57 2018 > > > New Revision: 339516 > > > URL: https://svnweb.free

svn commit: r340769 - stable/12/usr.bin/ldd

2018-11-22 Thread Mark Johnston
Author: markj Date: Thu Nov 22 16:52:30 2018 New Revision: 340769 URL: https://svnweb.freebsd.org/changeset/base/340769 Log: MFC r339653: Add an IMPLEMENTATION NOTES section to ldd.1. PR: 231926 Modified: stable/12/usr.bin/ldd/ldd.1 Directory Properties: stable/12/ (props changed

svn commit: r340770 - stable/12/sys/fs/fuse

2018-11-22 Thread Mark Johnston
Author: markj Date: Thu Nov 22 16:53:30 2018 New Revision: 340770 URL: https://svnweb.freebsd.org/changeset/base/340770 Log: MFC r340639: Remove comments made obsolete by the ino64 work. Modified: stable/12/sys/fs/fuse/fuse_internal.c stable/12/sys/fs/fuse/fuse_internal.h Directory Proper

svn commit: r340772 - head/sys/amd64/ia32

2018-11-22 Thread Mark Johnston
Author: markj Date: Thu Nov 22 17:51:19 2018 New Revision: 340772 URL: https://svnweb.freebsd.org/changeset/base/340772 Log: Clear unused bytes in ia32_osendsig(). Mirror the fix for the native i386 implementation from r218327. This code is compiled only when the non-default COMPAT_43 op

svn commit: r340783 - in head/sys: kern netinet netinet6 ofed/drivers/infiniband/ulp/sdp

2018-11-22 Thread Mark Johnston
Author: markj Date: Thu Nov 22 20:49:41 2018 New Revision: 340783 URL: https://svnweb.freebsd.org/changeset/base/340783 Log: Plug some networking sysctl leaks. Various network protocol sysctl handlers were not zero-filling their output buffers and thus would export uninitialized stack mem

svn commit: r340788 - stable/12/sys/kern

2018-11-22 Thread Mark Johnston
Author: markj Date: Fri Nov 23 00:56:42 2018 New Revision: 340788 URL: https://svnweb.freebsd.org/changeset/base/340788 Log: MFC r340699: Clear pad bytes in the struct exported by kern.ntp_pll.gettime. Modified: stable/12/sys/kern/kern_ntptime.c Directory Properties: stable/12/ (props c

svn commit: r340789 - stable/11/sys/kern

2018-11-22 Thread Mark Johnston
Author: markj Date: Fri Nov 23 00:59:42 2018 New Revision: 340789 URL: https://svnweb.freebsd.org/changeset/base/340789 Log: MFC r340699: Clear pad bytes in the struct exported by kern.ntp_pll.gettime. Modified: stable/11/sys/kern/kern_ntptime.c Directory Properties: stable/11/ (props c

svn commit: r340791 - releng/12.0/sys/kern

2018-11-22 Thread Mark Johnston
Author: markj Date: Fri Nov 23 01:07:12 2018 New Revision: 340791 URL: https://svnweb.freebsd.org/changeset/base/340791 Log: MFstable/12 r340788: Clear pad bytes in the struct exported by kern.ntp_pll.gettime. Approved by: re (gjb) Modified: releng/12.0/sys/kern/kern_ntptime.c Directo

svn commit: r340856 - in head/sys: cddl/contrib/opensolaris/uts/common/fs/zfs fs/autofs fs/cd9660 fs/devfs fs/ext2fs fs/fdescfs fs/fuse fs/msdosfs fs/nandfs fs/pseudofs fs/smbfs fs/tmpfs fs/udf ker...

2018-11-23 Thread Mark Johnston
Author: markj Date: Fri Nov 23 22:24:59 2018 New Revision: 340856 URL: https://svnweb.freebsd.org/changeset/base/340856 Log: Ensure that directory entry padding bytes are zeroed. Directory entries must be padded to maintain alignment; in many filesystems the padding was not initialized, r

<    4   5   6   7   8   9   10   11   12   13   >