svn commit: r350525 - in head/sys/arm64: arm64 include

2019-08-01 Thread Mark Johnston
Author: markj Date: Thu Aug 1 22:48:06 2019 New Revision: 350525 URL: https://svnweb.freebsd.org/changeset/base/350525 Log: Use ATTR_DBM even when hardware dirty bit management is not enabled. The ARMv8 reference manual only states that the bit is reserved in this case; following Linux's

svn commit: r350538 - head/sys/dev/mlx5/mlx5_en

2019-08-02 Thread Mark Johnston
Author: markj Date: Fri Aug 2 15:19:11 2019 New Revision: 350538 URL: https://svnweb.freebsd.org/changeset/base/350538 Log: Fix warnings about unused identifiers when compiling without RATELIMIT. Modified: head/sys/dev/mlx5/mlx5_en/mlx5_en_main.c Modified: head/sys/dev/mlx5/mlx5_en/mlx5_en_

svn commit: r350540 - head/sys/kern

2019-08-02 Thread Mark Johnston
Author: markj Date: Fri Aug 2 18:01:47 2019 New Revision: 350540 URL: https://svnweb.freebsd.org/changeset/base/350540 Log: Only check the blessings table for known LORs. Previously we would check for blessings before marking a given lock pair as reversed, so each "reversed" lock acquisi

svn commit: r350544 - head/usr.bin/bzip2recover

2019-08-02 Thread Mark Johnston
Author: markj Date: Fri Aug 2 22:09:56 2019 New Revision: 350544 URL: https://svnweb.freebsd.org/changeset/base/350544 Log: Add bzip2recover.1. MFC after:3 days Sponsored by: The FreeBSD Foundation Modified: head/usr.bin/bzip2recover/Makefile Modified: head/usr.bin/bzip2recover/M

svn commit: r350631 - stable/12/lib/libc/gen

2019-08-06 Thread Mark Johnston
Author: markj Date: Tue Aug 6 14:37:57 2019 New Revision: 350631 URL: https://svnweb.freebsd.org/changeset/base/350631 Log: MFC r350513: Fix formatting. Modified: stable/12/lib/libc/gen/daemon.3 Directory Properties: stable/12/ (props changed) Modified: stable/12/lib/libc/gen/daemon.3

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

2019-08-06 Thread Mark Johnston
Author: markj Date: Tue Aug 6 14:38:44 2019 New Revision: 350633 URL: https://svnweb.freebsd.org/changeset/base/350633 Log: MFC r350432: Merge r3778 and r3779 from ELFToolchain. Modified: stable/12/contrib/elftoolchain/elfcopy/main.c stable/12/contrib/elftoolchain/elfcopy/strip.1 Directo

svn commit: r350632 - stable/12/lib/libc/gen

2019-08-06 Thread Mark Johnston
Author: markj Date: Tue Aug 6 14:38:16 2019 New Revision: 350632 URL: https://svnweb.freebsd.org/changeset/base/350632 Log: MFC r350514: Add an MLINK for daemonfd(3). Modified: stable/12/lib/libc/gen/Makefile.inc Directory Properties: stable/12/ (props changed) Modified: stable/12/lib

svn commit: r350634 - stable/12/usr.bin/bzip2recover

2019-08-06 Thread Mark Johnston
Author: markj Date: Tue Aug 6 14:39:02 2019 New Revision: 350634 URL: https://svnweb.freebsd.org/changeset/base/350634 Log: MFC r350544: Add bzip2recover.1. Modified: stable/12/usr.bin/bzip2recover/Makefile Directory Properties: stable/12/ (props changed) Modified: stable/12/usr.bin/b

svn commit: r350671 - head/contrib/elftoolchain/readelf

2019-08-06 Thread Mark Johnston
Author: markj Date: Wed Aug 7 03:14:45 2019 New Revision: 350671 URL: https://svnweb.freebsd.org/changeset/base/350671 Log: readelf: Close input files when done with them. The low fd limit used by poudriere exposed an odd failure mode in cap_fileargs (used by readelf as of r350516). In

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

2019-08-07 Thread Mark Johnston
Author: markj Date: Wed Aug 7 16:22:25 2019 New Revision: 350679 URL: https://svnweb.freebsd.org/changeset/base/350679 Log: Merge r3780 from elftoolchain. Adjust argc and argv by optind before using them. This slightly simplifies the code. No functional change intended. MFC after:

svn commit: r350696 - in head/sys/amd64/vmm: amd intel

2019-08-07 Thread Mark Johnston
Author: markj Date: Wed Aug 7 19:45:44 2019 New Revision: 350696 URL: https://svnweb.freebsd.org/changeset/base/350696 Log: Use designated initializers for vmm_ops. MFC after:3 days Modified: head/sys/amd64/vmm/amd/svm.c head/sys/amd64/vmm/intel/vmx.c Modified: head/sys/amd64/vmm

Re: svn commit: r350512 - head/tests/sys/kern

2019-08-07 Thread Mark Johnston
On Thu, Aug 01, 2019 at 06:19:16PM +, Li-Wen Hsu wrote: > Author: lwhsu > Date: Thu Aug 1 18:19:16 2019 > New Revision: 350512 > URL: https://svnweb.freebsd.org/changeset/base/350512 > > Log: > Only skip test cases sometimes failing in CI when they are running in CI > > Suggested by:

svn commit: r350699 - stable/12/tests/sys/vm

2019-08-07 Thread Mark Johnston
, head/tests/sys/vm/mlock_test.c) @@ -0,0 +1,174 @@ +/*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * + * Copyright (c) 2019 Mark Johnston + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are

svn commit: r350779 - head/sbin/iscontrol

2019-08-08 Thread Mark Johnston
Author: markj Date: Thu Aug 8 20:56:52 2019 New Revision: 350779 URL: https://svnweb.freebsd.org/changeset/base/350779 Log: Fix formatting. PR: 239726 Submitted by: Gordon Bergling MFC after:3 days Modified: head/sbin/iscontrol/iscontrol.8 Modified: head/sbin/iscontr

svn commit: r350780 - head/usr.sbin/mountd

2019-08-08 Thread Mark Johnston
Author: markj Date: Thu Aug 8 21:08:13 2019 New Revision: 350780 URL: https://svnweb.freebsd.org/changeset/base/350780 Log: Add a reference to the NFSv3 RFC. PR: 239721 Submitted by: Gordon Bergling MFC after:3 days Modified: head/usr.sbin/mountd/mountd.8 Modified: h

svn commit: r350781 - head/usr.bin/whois

2019-08-08 Thread Mark Johnston
Author: markj Date: Thu Aug 8 21:15:02 2019 New Revision: 350781 URL: https://svnweb.freebsd.org/changeset/base/350781 Log: Update RFC references in the whois(1) man page. PR: 239720 Submitted by: Gordon Bergling MFC after:3 days Modified: head/usr.bin/whois/whois.1

svn commit: r350782 - head/usr.bin/du

2019-08-08 Thread Mark Johnston
Author: markj Date: Thu Aug 8 21:16:15 2019 New Revision: 350782 URL: https://svnweb.freebsd.org/changeset/base/350782 Log: Flesh out the STANDARDS and AUTHORS sections in the du(1) man page. PR: 239722 Submitted by: Gordon Bergling MFC after:3 days Modified: head/usr

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

2019-05-06 Thread Mark Johnston
On Mon, May 06, 2019 at 01:40:19PM -0700, John Baldwin wrote: > On 5/6/19 11:45 AM, Mark Johnston wrote: > > On Mon, May 06, 2019 at 11:07:18AM -0700, John Baldwin wrote: > >> On 5/3/19 2:26 PM, Mark Johnston wrote: > >>> Author: markj > >>> Date: F

svn commit: r347227 - head/sys/kern

2019-05-07 Thread Mark Johnston
Author: markj Date: Tue May 7 15:03:26 2019 New Revision: 347227 URL: https://svnweb.freebsd.org/changeset/base/347227 Log: Simplify the test against maxproc in fork1(). Previously nprocs_new would be tested against maxprocs twice when nprocs_new < maxprocs - 10. Eliminate the unnecessa

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

2019-05-08 Thread Mark Johnston
Author: markj Date: Wed May 8 16:01:59 2019 New Revision: 347348 URL: https://svnweb.freebsd.org/changeset/base/347348 Log: MFC r346888: Stop checking TD_IDLETHREAD() in buffer cache routines. Modified: stable/12/sys/kern/vfs_bio.c Directory Properties: stable/12/ (props changed) Modi

svn commit: r347349 - stable/12/usr.sbin/rtadvd

2019-05-08 Thread Mark Johnston
Author: markj Date: Wed May 8 16:04:33 2019 New Revision: 347349 URL: https://svnweb.freebsd.org/changeset/base/347349 Log: MFC r346960: Retry upon NET_RT_IFLIST sysctl failure. PR: 195191 Modified: stable/12/usr.sbin/rtadvd/if.c Directory Properties: stable/12/ (props changed)

svn commit: r347353 - stable/11/usr.sbin/rtadvd

2019-05-08 Thread Mark Johnston
Author: markj Date: Wed May 8 16:07:43 2019 New Revision: 347353 URL: https://svnweb.freebsd.org/changeset/base/347353 Log: MFC r346960: Retry upon NET_RT_IFLIST sysctl failure. PR: 195191 Modified: stable/11/usr.sbin/rtadvd/if.c Directory Properties: stable/11/ (props changed)

svn commit: r347423 - head/sys/dev/random

2019-05-09 Thread Mark Johnston
Author: markj Date: Fri May 10 04:28:17 2019 New Revision: 347423 URL: https://svnweb.freebsd.org/changeset/base/347423 Log: Avoid returning a NULL pointer from the Intel hw PRNG ifunc resolver. DTrace expects kernel function symbols of a non-zero size to have an implementation, which is

svn commit: r347439 - head/lib/libnetgraph

2019-05-10 Thread Mark Johnston
Author: markj Date: Fri May 10 16:43:47 2019 New Revision: 347439 URL: https://svnweb.freebsd.org/changeset/base/347439 Log: Atomically update the global gMsgId in libnetgraph. Otherwise concurrently running threads may inadvertently use the same token for different messages. Preserv

svn commit: r347515 - head/sys/mips/conf

2019-05-12 Thread Mark Johnston
Author: markj Date: Mon May 13 01:18:17 2019 New Revision: 347515 URL: https://svnweb.freebsd.org/changeset/base/347515 Log: Catch up with r347241. MFC with: r347241 Modified: head/sys/mips/conf/std.AR_MIPS_BASE Modified: head/sys/mips/conf/std.AR_MIPS_BASE =

svn commit: r347532 - in head: contrib/netbsd-tests/lib/libc/sys lib/libc/sys lib/libc/tests/sys sys/amd64/vmm sys/sys sys/vm usr.bin/vmstat

2019-05-13 Thread Mark Johnston
Author: markj Date: Mon May 13 16:38:48 2019 New Revision: 347532 URL: https://svnweb.freebsd.org/changeset/base/347532 Log: Provide separate accounting for user-wired pages. Historically we have not distinguished between kernel wirings and user wirings for accounting purposes. User wiri

svn commit: r347534 - in head: . lib/libcasper/services/cap_sysctl lib/libcasper/services/cap_sysctl/tests

2019-05-13 Thread Mark Johnston
sctl/cap_sysctl.c Mon May 13 17:48:16 2019(r347533) +++ head/lib/libcasper/services/cap_sysctl/cap_sysctl.c Mon May 13 17:49:54 2019 (r347534) @@ -1,12 +1,15 @@ /*- * SPDX-License-Identifier: BSD-2-Clause-FreeBSD * - * Copyright (c) 2013 The FreeBSD Foundation + * Copyright (c) 2

svn commit: r347535 - head/lib/libcasper/services/cap_sysctl/tests

2019-05-13 Thread Mark Johnston
Author: markj Date: Mon May 13 17:51:03 2019 New Revision: 347535 URL: https://svnweb.freebsd.org/changeset/base/347535 Log: Convert the libcap_sysctl test cases to ATF. Reviewed by: oshogbo Sponsored by: The FreeBSD Foundation Differential Revision:https://reviews.freebsd.org/

svn commit: r347536 - head/lib/libcasper/services/cap_sysctl/tests

2019-05-13 Thread Mark Johnston
Author: markj Date: Mon May 13 17:53:03 2019 New Revision: 347536 URL: https://svnweb.freebsd.org/changeset/base/347536 Log: Extend the libcap_sysctl tests. - Add some coverage for cap_sysctl(3). - Add a test for the case where the caller wishes to find the sysctl output length withou

svn commit: r347541 - head/sys/vm

2019-05-13 Thread Mark Johnston
Author: markj Date: Mon May 13 18:40:01 2019 New Revision: 347541 URL: https://svnweb.freebsd.org/changeset/base/347541 Log: Restore the pre-r347532 behaviour of ignoring wiring failures in mmap(). The error handling added in r347532 is not right when mapping vnodes and will be fixed sepa

svn commit: r347543 - in head: . sys/sys

2019-05-13 Thread Mark Johnston
Author: markj Date: Mon May 13 18:48:08 2019 New Revision: 347543 URL: https://svnweb.freebsd.org/changeset/base/347543 Log: Add an UPDATING entry and bump __FreeBSD_version for r347532. Reported by: rgrimes, Oliver Pinter Modified: head/UPDATING head/sys/sys/param.h Modified: head/

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

2019-05-13 Thread Mark Johnston
On Mon, May 13, 2019 at 01:45:29PM +, Andrey V. Elsukov wrote: > Author: ae > Date: Mon May 13 13:45:28 2019 > New Revision: 347526 > URL: https://svnweb.freebsd.org/changeset/base/347526 > > Log: > Rework locking in BPF code to remove rwlock from fast path. > > On high packets rate the

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

2019-05-13 Thread Mark Johnston
On Mon, May 13, 2019 at 06:09:59PM -0400, Li-Wen Hsu wrote: > On Mon, May 13, 2019 at 3:38 PM Mark Johnston wrote: > > > > On Mon, May 13, 2019 at 01:45:29PM +, Andrey V. Elsukov wrote: > > > Author: ae > > > Date: Mon May 13 13:45:28 2019 > >

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

2019-05-13 Thread Mark Johnston
Author: markj Date: Tue May 14 00:34:08 2019 New Revision: 347556 URL: https://svnweb.freebsd.org/changeset/base/347556 Log: MFC r347227: Simplify the test against maxproc in fork1(). Modified: stable/12/sys/kern/kern_fork.c Directory Properties: stable/12/ (props changed) Modified: st

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

2019-05-14 Thread Mark Johnston
Author: markj Date: Tue May 14 15:19:48 2019 New Revision: 347564 URL: https://svnweb.freebsd.org/changeset/base/347564 Log: Fix formatting. MFC after:3 days Modified: head/sys/amd64/amd64/trap.c Modified: head/sys/amd64/amd64/trap.c =

svn commit: r347569 - head/sys/conf

2019-05-14 Thread Mark Johnston
Author: markj Date: Tue May 14 18:10:32 2019 New Revision: 347569 URL: https://svnweb.freebsd.org/changeset/base/347569 Log: Remove redundant -Wl uses from the kernel's LDFLAGS. No functional change intended. MFC after:3 days Sponsored by: The FreeBSD Foundation Modified: head

svn commit: r347570 - head/sys/conf

2019-05-14 Thread Mark Johnston
Author: markj Date: Tue May 14 18:26:39 2019 New Revision: 347570 URL: https://svnweb.freebsd.org/changeset/base/347570 Log: Specify -z notext when building with -z ifunc-noplt. The upstream implementation of -z ifunc-noplt disallows its combination with -z text. The option does not have

svn commit: r347582 - in head/sys: netinet netinet6

2019-05-14 Thread Mark Johnston
Author: markj Date: Tue May 14 21:30:55 2019 New Revision: 347582 URL: https://svnweb.freebsd.org/changeset/base/347582 Log: Close some races in multicast socket option handling. r333175 converted the global multicast lock to a sleepable sx lock, so the lock order with respect to the (non

svn commit: r347616 - in stable/11/sys: amd64/amd64 i386/i386

2019-05-15 Thread Mark Johnston
Author: markj Date: Wed May 15 15:49:29 2019 New Revision: 347616 URL: https://svnweb.freebsd.org/changeset/base/347616 Log: MFC r339046, r339073: Count bootstrap data as resident in the kernel pmap. Modified: stable/11/sys/amd64/amd64/pmap.c stable/11/sys/i386/i386/pmap.c Directory Prope

svn commit: r347691 - in head/sys: netinet netinet6

2019-05-16 Thread Mark Johnston
Author: markj Date: Thu May 16 13:04:26 2019 New Revision: 347691 URL: https://svnweb.freebsd.org/changeset/base/347691 Log: Revert r347582 for now. The inp lock still needs to be dropped when calling into the driver ioctl handler, as some drivers expect to be able to sleep. Reported

svn commit: r347700 - in stable/11: stand/defaults sys/amd64/amd64 sys/conf sys/dev/cpuctl sys/i386/i386 sys/x86/acpica sys/x86/include sys/x86/x86

2019-05-16 Thread Mark Johnston
Author: markj Date: Thu May 16 14:42:16 2019 New Revision: 347700 URL: https://svnweb.freebsd.org/changeset/base/347700 Log: MFC r337715, r337751, r337754, r337758, r337813, r338354, r338687, r339124, r341821: Add support for boot-time Intel microcode loading. Added: stable/11/sys/x86

svn commit: r347904 - stable/12/sys/amd64/amd64

2019-05-17 Thread Mark Johnston
Author: markj Date: Fri May 17 14:08:58 2019 New Revision: 347904 URL: https://svnweb.freebsd.org/changeset/base/347904 Log: MFC r347564: Fix formatting. Modified: stable/12/sys/amd64/amd64/trap.c Directory Properties: stable/12/ (props changed) Modified: stable/12/sys/amd64/amd64/trap

svn commit: r347905 - stable/12/sys/conf

2019-05-17 Thread Mark Johnston
Author: markj Date: Fri May 17 14:09:33 2019 New Revision: 347905 URL: https://svnweb.freebsd.org/changeset/base/347905 Log: MFC r347569: Remove redundant -Wl uses from the kernel's LDFLAGS. Modified: stable/12/sys/conf/kern.pre.mk stable/12/sys/conf/kmod.mk Directory Properties: stable

svn commit: r347937 - stable/11/stand/defaults

2019-05-17 Thread Mark Johnston
Author: markj Date: Fri May 17 18:10:11 2019 New Revision: 347937 URL: https://svnweb.freebsd.org/changeset/base/347937 Log: MFC r337716: Add microcode update configuration to the default loader.conf. Approved by: re (kib) Modified: stable/11/stand/defaults/loader.conf Directory Prope

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

2019-05-17 Thread Mark Johnston
Author: markj Date: Sat May 18 01:46:38 2019 New Revision: 347949 URL: https://svnweb.freebsd.org/changeset/base/347949 Log: Implement the M_NEXTFIT allocation strategy for vmem(9). This is described in the vmem paper: "directs vmem to use the next free segment after the one previously al

svn commit: r347950 - head/sys/vm

2019-05-17 Thread Mark Johnston
Author: markj Date: Sat May 18 02:02:14 2019 New Revision: 347950 URL: https://svnweb.freebsd.org/changeset/base/347950 Log: Use M_NEXTFIT in memguard(9). memguard(9) wants to avoid reuse of freed addresses for as long as possible. Previously it maintained a racily updated cursor which w

svn commit: r347955 - head/sys/kern

2019-05-18 Thread Mark Johnston
Author: markj Date: Sat May 18 14:19:23 2019 New Revision: 347955 URL: https://svnweb.freebsd.org/changeset/base/347955 Log: Update the DIAGNOSTIC-only vmem_check_sanity() after r347949. Cursor tags are special and shouldn't be subject to the existing checks. Reported by: kib, David W

svn commit: r348002 - head/share/man/man9

2019-05-20 Thread Mark Johnston
Author: markj Date: Mon May 20 19:08:55 2019 New Revision: 348002 URL: https://svnweb.freebsd.org/changeset/base/348002 Log: Typo. MFC after:3 days Modified: head/share/man/man9/DRIVER_MODULE.9 Modified: head/share/man/man9/DRIVER_MODULE.9 ===

svn commit: r348003 - head/share/man/man9

2019-05-20 Thread Mark Johnston
file is newly added) +++ head/share/man/man9/DEFINE_IFUNC.9 Mon May 20 19:12:29 2019 (r348003) @@ -0,0 +1,143 @@ +.\" Copyright (c) 2019 The FreeBSD Foundation +.\" +.\" This documentation was written by Mark Johnston +.\" under sponsorship from th

svn commit: r348004 - head/sys/kern

2019-05-20 Thread Mark Johnston
Author: markj Date: Mon May 20 19:14:07 2019 New Revision: 348004 URL: https://svnweb.freebsd.org/changeset/base/348004 Log: kcov depends on eventhandler.h. MFC after:3 days Modified: head/sys/kern/kern_kcov.c Modified: head/sys/kern/kern_kcov.c =

svn commit: r348011 - head/share/man/man9

2019-05-20 Thread Mark Johnston
Author: markj Date: Mon May 20 21:23:33 2019 New Revision: 348011 URL: https://svnweb.freebsd.org/changeset/base/348011 Log: Hook DEFINE_IFUNC.9 up to the build. Reported by: pluknet MFC with: r348003 Modified: head/share/man/man9/Makefile Modified: head/share/man/man9/Makefile =

svn commit: r348027 - stable/12/sys/conf

2019-05-20 Thread Mark Johnston
Author: markj Date: Tue May 21 01:27:08 2019 New Revision: 348027 URL: https://svnweb.freebsd.org/changeset/base/348027 Log: MFC r347570: Specify -z notext when building with -z ifunc-noplt. Modified: stable/12/sys/conf/kern.pre.mk Directory Properties: stable/12/ (props changed) Modif

svn commit: r348066 - in head/libexec/bootpd: . bootpgw

2019-05-21 Thread Mark Johnston
Author: markj Date: Tue May 21 21:22:43 2019 New Revision: 348066 URL: https://svnweb.freebsd.org/changeset/base/348066 Log: bootpd: Add an option to skip modifications to the ARP table. PR: 30854 Submitted by: Dan Lukes Reviewed by: imp (previous version) MFC after:1

svn commit: r348080 - head/cddl/usr.sbin/dtrace/tests/tools

2019-05-21 Thread Mark Johnston
Author: markj Date: Wed May 22 03:10:23 2019 New Revision: 348080 URL: https://svnweb.freebsd.org/changeset/base/348080 Log: Make it possible to generate makefiles for arch-dependent DTrace tests. MFC after:1 week Event:Waterloo Hackathon 2019 Modified: head/cddl/us

svn commit: r348081 - in head: cddl/usr.sbin/dtrace/tests cddl/usr.sbin/dtrace/tests/i386 cddl/usr.sbin/dtrace/tests/i386/arrays cddl/usr.sbin/dtrace/tests/i386/funcs cddl/usr.sbin/dtrace/tests/i38...

2019-05-21 Thread Mark Johnston
Author: markj Date: Wed May 22 03:42:03 2019 New Revision: 348081 URL: https://svnweb.freebsd.org/changeset/base/348081 Log: Hook up the existing i386 DTrace tests to the build. Now that it's relatively easy to do so, we might as well. MFC after:1 week Event:Water

svn commit: r348082 - head/sbin/dumpon

2019-05-21 Thread Mark Johnston
Author: markj Date: Wed May 22 03:49:38 2019 New Revision: 348082 URL: https://svnweb.freebsd.org/changeset/base/348082 Log: Provide an example of using dhclient-script(5) to configure netdump. Reviewed by: cem MFC after:1 week Event:Waterloo Hackathon 2019 Differ

svn commit: r348083 - head/sbin/dumpon

2019-05-21 Thread Mark Johnston
Author: markj Date: Wed May 22 03:52:39 2019 New Revision: 348083 URL: https://svnweb.freebsd.org/changeset/base/348083 Log: Update the example added in r348082 to specify a dump device priority. Event:Waterloo Hackathon 2019 Modified: head/sbin/dumpon/dumpon.8 Modified: head/sb

svn commit: r348090 - in head/libexec/bootpd: . bootpgw

2019-05-21 Thread Mark Johnston
Author: markj Date: Wed May 22 04:13:57 2019 New Revision: 348090 URL: https://svnweb.freebsd.org/changeset/base/348090 Log: Marginally improve usage() message style in bootpd. - Remove an extra space after "usage:". - Avoid lines exceeding 80 columns. Based on notes from rgrimes.

Re: svn commit: r348090 - in head/libexec/bootpd: . bootpgw

2019-05-22 Thread Mark Johnston
On Tue, May 21, 2019 at 09:25:23PM -0700, Rodney W. Grimes wrote: > > Author: markj > > Date: Wed May 22 04:13:57 2019 > > New Revision: 348090 > > URL: https://svnweb.freebsd.org/changeset/base/348090 > > > > Log: > > Marginally improve usage() message style in bootpd. > > > > - Remove an

Re: svn commit: r348090 - in head/libexec/bootpd: . bootpgw

2019-05-22 Thread Mark Johnston
On Wed, May 22, 2019 at 08:48:10AM -0700, Rodney W. Grimes wrote: > > On Tue, May 21, 2019 at 09:25:23PM -0700, Rodney W. Grimes wrote: > > To be honest I have no desire to spend more time on bootpd than I > > already have. You are welcome to improve the usage formatting if > > you like. > > omg,

svn commit: r348238 - stable/12/share/man/man9

2019-05-24 Thread Mark Johnston
Author: markj Date: Fri May 24 14:38:31 2019 New Revision: 348238 URL: https://svnweb.freebsd.org/changeset/base/348238 Log: MFC r348002: Typo. Modified: stable/12/share/man/man9/DRIVER_MODULE.9 Directory Properties: stable/12/ (props changed) Modified: stable/12/share/man/man9/DRIVER_

svn commit: r348241 - head

2019-05-24 Thread Mark Johnston
Author: markj Date: Fri May 24 15:45:43 2019 New Revision: 348241 URL: https://svnweb.freebsd.org/changeset/base/348241 Log: Modernize the MAKE_JUST_KERNELS hint in the top-level makefile. It doesn't make sense to limit to -j12 anymore, build scalability is better than it used to be. Fol

Re: svn commit: r348241 - head

2019-05-24 Thread Mark Johnston
On Fri, May 24, 2019 at 10:08:53AM -0700, Conrad Meyer wrote: > On Fri, May 24, 2019 at 9:24 AM Andrew Gallatin wrote: > > Dumb question about this: Will it update toolchains, or just use what > > can find? > > -DMAKE_JUST_KERNELS doesn't touch toolchains. For that, there is the > less memorable

svn commit: r348283 - head/sys/i386/i386

2019-05-25 Thread Mark Johnston
Author: markj Date: Sat May 25 23:36:20 2019 New Revision: 348283 URL: https://svnweb.freebsd.org/changeset/base/348283 Log: Remove pmap_pid_dump() from the i386 pmap. It has not been compilable in a long time and doesn't seem very useful. Suggested by: kib MFC after:1 week Modi

Re: svn commit: r348300 - head/sys/ufs/ffs

2019-05-27 Thread Mark Johnston
On Mon, May 27, 2019 at 06:22:44AM +, Kirk McKusick wrote: > Author: mckusick > Date: Mon May 27 06:22:43 2019 > New Revision: 348300 > URL: https://svnweb.freebsd.org/changeset/base/348300 > > Log: > Add function name and line number debugging information to softupdates > worklist structu

svn commit: r348326 - in stable/12/libexec/bootpd: . bootpgw

2019-05-28 Thread Mark Johnston
Author: markj Date: Tue May 28 14:17:03 2019 New Revision: 348326 URL: https://svnweb.freebsd.org/changeset/base/348326 Log: MFC r348066, r348090: bootpd: Add an option to skip modifications to the ARP table. PR: 30854 Modified: stable/12/libexec/bootpd/bootpd.8 stable/12/libexec/b

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

2019-05-30 Thread Mark Johnston
Author: markj Date: Thu May 30 15:17:35 2019 New Revision: 348427 URL: https://svnweb.freebsd.org/changeset/base/348427 Log: MFC r348082: Provide an example of using dhclient-script(5) to configure netdump. Modified: stable/12/sbin/dumpon/dumpon.8 Directory Properties: stable/12/ (props

svn commit: r348428 - in stable/12: cddl/usr.sbin/dtrace/tests cddl/usr.sbin/dtrace/tests/i386 cddl/usr.sbin/dtrace/tests/tools etc/mtree

2019-05-30 Thread Mark Johnston
Author: markj Date: Thu May 30 15:20:20 2019 New Revision: 348428 URL: https://svnweb.freebsd.org/changeset/base/348428 Log: MFC r348080, r348081: Add platform-dependent DTrace tests. Added: stable/12/cddl/usr.sbin/dtrace/tests/i386/ - copied from r348081, head/cddl/usr.sbin/dtrace/tes

svn commit: r348429 - stable/12/sys/ufs/ufs

2019-05-30 Thread Mark Johnston
Author: markj Date: Thu May 30 15:23:43 2019 New Revision: 348429 URL: https://svnweb.freebsd.org/changeset/base/348429 Log: MFC r346932, r347159: Optimize lseek(SEEK_DATA) on UFS. Modified: stable/12/sys/ufs/ufs/ufs_bmap.c stable/12/sys/ufs/ufs/ufs_extern.h stable/12/sys/ufs/ufs/ufs_vn

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

2019-05-30 Thread Mark Johnston
Author: markj Date: Thu May 30 15:26:39 2019 New Revision: 348430 URL: https://svnweb.freebsd.org/changeset/base/348430 Log: elfcopy: Remove an unneeded memset. Reviewed by: emaste, trasz MFC after:1 week Sponsored by: The FreeBSD Foundation Differential Revision:https://

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

2019-05-30 Thread Mark Johnston
Author: markj Date: Thu May 30 15:28:48 2019 New Revision: 348431 URL: https://svnweb.freebsd.org/changeset/base/348431 Log: elfcopy: Optimize for insertions at the end of the section list. This is the common case when strip(1) is creating the output file. The change provides a significan

svn commit: r348443 - head/contrib/elftoolchain/readelf

2019-05-30 Thread Mark Johnston
Author: markj Date: Thu May 30 18:54:34 2019 New Revision: 348443 URL: https://svnweb.freebsd.org/changeset/base/348443 Log: readelf: Make -t imply -S, for compatibility with GNU binutils. Reported by: jhb Reviewed by: emaste MFC after:1 week Sponsored by: The FreeBSD Foundation

svn commit: r348444 - head/lib/libelftc

2019-05-30 Thread Mark Johnston
Author: markj Date: Thu May 30 19:18:01 2019 New Revision: 348444 URL: https://svnweb.freebsd.org/changeset/base/348444 Log: libelftc: Add MLINKS. Reviewed by: emaste MFC after:1 week Sponsored by: The FreeBSD Foundation Differential Revision:https://reviews.freebsd.org/D

svn commit: r348457 - head/sys/vm

2019-05-31 Thread Mark Johnston
Author: markj Date: Fri May 31 14:59:40 2019 New Revision: 348457 URL: https://svnweb.freebsd.org/changeset/base/348457 Log: Remove a redundant vm_page_remove() call. vm_page_free_prep() removes the page from its object. No functional change intended. Reviewed by: alc, kib MFC af

svn commit: r348458 - stable/12

2019-05-31 Thread Mark Johnston
Author: markj Date: Fri May 31 15:05:54 2019 New Revision: 348458 URL: https://svnweb.freebsd.org/changeset/base/348458 Log: MFC r348241: Modernize the MAKE_JUST_KERNELS hint in the top-level makefile. Modified: stable/12/Makefile Directory Properties: stable/12/ (props changed) Modifi

svn commit: r348459 - in head: sbin/devd sys/dev/acpica

2019-05-31 Thread Mark Johnston
Author: markj Date: Fri May 31 15:44:33 2019 New Revision: 348459 URL: https://svnweb.freebsd.org/changeset/base/348459 Log: acpi_dock(4): Notify devd(8) on dock status change. PR: 238138 Submitted by: Muhammad Kaisar Arkhan MFC after:2 weeks Modified: head/sbin/devd/d

svn commit: r348473 - head/sys/netinet/netdump

2019-05-31 Thread Mark Johnston
Author: markj Date: Fri May 31 18:29:12 2019 New Revision: 348473 URL: https://svnweb.freebsd.org/changeset/base/348473 Log: netdump: Buffer pages to avoid calling netdump_send() on each 4KB write. netdump waits for acknowledgement from the server for each write. When dumping page table

svn commit: r348502 - head/sys/vm

2019-06-01 Thread Mark Johnston
Author: markj Date: Sun Jun 2 01:00:17 2019 New Revision: 348502 URL: https://svnweb.freebsd.org/changeset/base/348502 Log: Add a vm_page_wired() predicate. Use it instead of accessing the wire_count field directly. No functional change intended. Reviewed by: alc, kib MFC after:

svn commit: r348545 - head/lib/libutil

2019-06-03 Thread Mark Johnston
Author: markj Date: Mon Jun 3 16:47:00 2019 New Revision: 348545 URL: https://svnweb.freebsd.org/changeset/base/348545 Log: Typo. MFC after:3 days Sponsored by: The FreeBSD Foundation Modified: head/lib/libutil/pw_util.3 Modified: head/lib/libutil/pw_util.3 ==

svn commit: r348547 - head/usr.sbin/rpc.yppasswdd

2019-06-03 Thread Mark Johnston
Author: markj Date: Mon Jun 3 16:51:07 2019 New Revision: 348547 URL: https://svnweb.freebsd.org/changeset/base/348547 Log: rpc.yppasswdd: Fix dirname(3) usage after r305952. PR: 234972 Submitted by: Edward Fuhr (original) MFC after:3 days Modified: head/usr.sbin/rpc.

svn commit: r348549 - stable/12/share/man/man9

2019-06-03 Thread Mark Johnston
cumentation was written by Mark Johnston +.\" under sponsorship from the FreeBSD Foundation. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. R

Re: svn commit: r348532 - in head: . etc

2019-06-03 Thread Mark Johnston
On Mon, Jun 03, 2019 at 03:12:45PM +, Maxim Sobolev wrote: > Author: sobomax > Date: Mon Jun 3 15:12:44 2019 > New Revision: 348532 > URL: https://svnweb.freebsd.org/changeset/base/348532 > > Log: > Leave mtree hardcoded for now. Reverting partially 348521 and also > the followup stopgap

svn commit: r348632 - stable/12/sys/riscv/riscv

2019-06-04 Thread Mark Johnston
Author: markj Date: Tue Jun 4 17:19:16 2019 New Revision: 348632 URL: https://svnweb.freebsd.org/changeset/base/348632 Log: MFC r342766: Don't enable interrupts in init_secondary(). Modified: stable/12/sys/riscv/riscv/mp_machdep.c Directory Properties: stable/12/ (props changed) Modif

svn commit: r348633 - stable/12/sys/riscv/riscv

2019-06-04 Thread Mark Johnston
Author: markj Date: Tue Jun 4 17:20:34 2019 New Revision: 348633 URL: https://svnweb.freebsd.org/changeset/base/348633 Log: MFC r342732: Use regular stores to update PTEs in the riscv pmap layer. Modified: stable/12/sys/riscv/riscv/pmap.c Directory Properties: stable/12/ (props changed

svn commit: r348634 - stable/12/sys/riscv/riscv

2019-06-04 Thread Mark Johnston
Author: markj Date: Tue Jun 4 17:23:24 2019 New Revision: 348634 URL: https://svnweb.freebsd.org/changeset/base/348634 Log: MFC r343529: Remove a redundant test. Modified: stable/12/sys/riscv/riscv/pmap.c Directory Properties: stable/12/ (props changed) Modified: stable/12/sys/riscv/r

svn commit: r348635 - stable/12/sys/riscv/riscv

2019-06-04 Thread Mark Johnston
Author: markj Date: Tue Jun 4 17:23:58 2019 New Revision: 348635 URL: https://svnweb.freebsd.org/changeset/base/348635 Log: MFC r342734: Fix some issues with the riscv pmap_protect() implementation. Modified: stable/12/sys/riscv/riscv/pmap.c Directory Properties: stable/12/ (props chan

svn commit: r348636 - stable/12/sys/riscv/riscv

2019-06-04 Thread Mark Johnston
Author: markj Date: Tue Jun 4 17:24:26 2019 New Revision: 348636 URL: https://svnweb.freebsd.org/changeset/base/348636 Log: MFC r342735: Synchronize access to the allpmaps list. Modified: stable/12/sys/riscv/riscv/pmap.c Directory Properties: stable/12/ (props changed) Modified: stabl

svn commit: r348637 - stable/12/sys/riscv/riscv

2019-06-04 Thread Mark Johnston
Author: markj Date: Tue Jun 4 17:24:52 2019 New Revision: 348637 URL: https://svnweb.freebsd.org/changeset/base/348637 Log: MFC r342736: Fix a use-after-free in the riscv pmap_release() implementation. Modified: stable/12/sys/riscv/riscv/pmap.c Directory Properties: stable/12/ (props c

svn commit: r348638 - stable/12/sys/riscv/riscv

2019-06-04 Thread Mark Johnston
Author: markj Date: Tue Jun 4 17:25:22 2019 New Revision: 348638 URL: https://svnweb.freebsd.org/changeset/base/348638 Log: MFC r342764: Clear PGA_WRITEABLE in pmap_remove_pages(). Modified: stable/12/sys/riscv/riscv/pmap.c Directory Properties: stable/12/ (props changed) Modified: st

svn commit: r348639 - stable/12/sys/riscv/riscv

2019-06-04 Thread Mark Johnston
Author: markj Date: Tue Jun 4 17:25:45 2019 New Revision: 348639 URL: https://svnweb.freebsd.org/changeset/base/348639 Log: MFC r342765: Fix dirty bit handling in pmap_remove_write(). Modified: stable/12/sys/riscv/riscv/pmap.c Directory Properties: stable/12/ (props changed) Modified:

svn commit: r348640 - stable/12/sys/riscv/riscv

2019-06-04 Thread Mark Johnston
Author: markj Date: Tue Jun 4 17:28:49 2019 New Revision: 348640 URL: https://svnweb.freebsd.org/changeset/base/348640 Log: MFC r340029 (by jhb): Set PTE_A and PTE_D for user mappings in pmap_enter(). Modified: stable/12/sys/riscv/riscv/pmap.c Directory Properties: stable/12/ (props ch

svn commit: r348641 - in stable/12/sys/riscv: include riscv

2019-06-04 Thread Mark Johnston
Author: markj Date: Tue Jun 4 17:29:20 2019 New Revision: 348641 URL: https://svnweb.freebsd.org/changeset/base/348641 Log: MFC r340030 (by jhb): Restrict setting PTE execute permissions on RISC-V. Modified: stable/12/sys/riscv/include/pte.h stable/12/sys/riscv/riscv/locore.S stable/12

svn commit: r348642 - stable/12/sys/riscv/riscv

2019-06-04 Thread Mark Johnston
Author: markj Date: Tue Jun 4 17:29:47 2019 New Revision: 348642 URL: https://svnweb.freebsd.org/changeset/base/348642 Log: MFC r340159 (by jhb): Rework setting PTE_D for kernel mappings. Modified: stable/12/sys/riscv/riscv/pmap.c Directory Properties: stable/12/ (props changed) Modif

svn commit: r348643 - stable/12/sys/riscv/riscv

2019-06-04 Thread Mark Johnston
Author: markj Date: Tue Jun 4 17:30:22 2019 New Revision: 348643 URL: https://svnweb.freebsd.org/changeset/base/348643 Log: MFC r342733: Set PTE_U on PTEs created by pmap_enter_quick(). Modified: stable/12/sys/riscv/riscv/pmap.c Directory Properties: stable/12/ (props changed) Modifie

svn commit: r348644 - in stable/12/sys: riscv/include riscv/riscv vm

2019-06-04 Thread Mark Johnston
Author: markj Date: Tue Jun 4 17:31:05 2019 New Revision: 348644 URL: https://svnweb.freebsd.org/changeset/base/348644 Log: MFC r344106: Implement transparent 2MB superpage promotion for RISC-V. Modified: stable/12/sys/riscv/include/param.h stable/12/sys/riscv/include/pmap.h stable/12/

svn commit: r348645 - stable/12/sys/riscv/riscv

2019-06-04 Thread Mark Johnston
Author: markj Date: Tue Jun 4 17:31:29 2019 New Revision: 348645 URL: https://svnweb.freebsd.org/changeset/base/348645 Log: MFC r344107: Implement pmap_clear_modify() for RISC-V. Modified: stable/12/sys/riscv/riscv/pmap.c Directory Properties: stable/12/ (props changed) Modified: stab

svn commit: r348646 - in stable/12/sys/riscv: include riscv

2019-06-04 Thread Mark Johnston
Author: markj Date: Tue Jun 4 17:31:59 2019 New Revision: 348646 URL: https://svnweb.freebsd.org/changeset/base/348646 Log: MFC r344108: Implement per-CPU pmap activation tracking for RISC-V. Modified: stable/12/sys/riscv/include/pcb.h stable/12/sys/riscv/include/pcpu.h stable/12/sys/r

svn commit: r348648 - stable/12/sys/riscv/riscv

2019-06-04 Thread Mark Johnston
Author: markj Date: Tue Jun 4 17:37:50 2019 New Revision: 348648 URL: https://svnweb.freebsd.org/changeset/base/348648 Log: MFC r340028 (by jhb): SBI calls expect a pointer to a u_long rather than a pointer. Modified: stable/12/sys/riscv/riscv/intr_machdep.c stable/12/sys/riscv/riscv/mp_

svn commit: r348647 - stable/12/sys/riscv/riscv

2019-06-04 Thread Mark Johnston
Author: markj Date: Tue Jun 4 17:37:20 2019 New Revision: 348647 URL: https://svnweb.freebsd.org/changeset/base/348647 Log: MFC r340027 (by jhb): Don't allow debuggers to modify SSTATUS, only to read it. Modified: stable/12/sys/riscv/riscv/machdep.c Directory Properties: stable/12/ (pr

svn commit: r348652 - head/contrib/elftoolchain/libelf

2019-06-04 Thread Mark Johnston
Author: markj Date: Tue Jun 4 18:26:29 2019 New Revision: 348652 URL: https://svnweb.freebsd.org/changeset/base/348652 Log: libelf: Use a red-black tree to manage the section list. The tree is indexed by section number. This speeds up elf_getscn() and its callers, which previously had t

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