svn commit: r355605 - head/sys/vm

2019-12-10 Thread Ryan Libby
Author: rlibby Date: Wed Dec 11 06:50:55 2019 New Revision: 355605 URL: https://svnweb.freebsd.org/changeset/base/355605 Log: uma: pretty print zone flags sysctl Requested by: jeff Reviewed by: jeff, markj Sponsored by: Dell EMC Isilon Differential Revision:https://reviews.fr

svn commit: r355604 - in stable/11: contrib/expat contrib/expat/doc contrib/expat/examples contrib/expat/lib contrib/expat/tests contrib/expat/tests/benchmark contrib/expat/xmlwf lib/libexpat

2019-12-10 Thread Xin LI
Author: delphij Date: Wed Dec 11 06:34:48 2019 New Revision: 355604 URL: https://svnweb.freebsd.org/changeset/base/355604 Log: MFC r340127,340133,355085: libbsdxml (expat) 2.2.9. Added: stable/11/contrib/expat/AUTHORS - copied unchanged from r340127, head/contrib/expat/AUTHORS stable/1

svn commit: r355603 - in stable/12: contrib/expat contrib/expat/doc contrib/expat/examples contrib/expat/lib contrib/expat/tests contrib/expat/tests/benchmark contrib/expat/xmlwf lib/libexpat

2019-12-10 Thread Xin LI
Author: delphij Date: Wed Dec 11 06:30:26 2019 New Revision: 355603 URL: https://svnweb.freebsd.org/changeset/base/355603 Log: MFC r340127,340133,355085: libbsdxml (expat) 2.2.9. Added: stable/12/contrib/expat/AUTHORS - copied unchanged from r340127, head/contrib/expat/AUTHORS stable/1

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

2019-12-10 Thread Poul-Henning Kamp
In message , John Baldwin writes: >On 12/10/19 2:09 PM, Hans Petter Selasky wrote: >> On 2019-12-10 22:58, John Baldwin wrote: >>> While here, add to the manpage. >> >> FYI: >> >> Linux guys eliminated the "void *c_arg" in their timer implementation by >> using container_of() to get

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

2019-12-10 Thread John Baldwin
On 12/10/19 2:09 PM, Hans Petter Selasky wrote: > On 2019-12-10 22:58, John Baldwin wrote: >> While here, add to the manpage. > > FYI: > > Linux guys eliminated the "void *c_arg" in their timer implementation by > using container_of() to get callback argument. We could possibly do the > same

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

2019-12-10 Thread Hans Petter Selasky
On 2019-12-10 22:58, John Baldwin wrote: While here, add to the manpage. FYI: Linux guys eliminated the "void *c_arg" in their timer implementation by using container_of() to get callback argument. We could possibly do the same! --HPS ___ svn-

svn commit: r355602 - head/lib/clang/libllvm

2019-12-10 Thread Dimitry Andric
Author: dim Date: Tue Dec 10 22:10:25 2019 New Revision: 355602 URL: https://svnweb.freebsd.org/changeset/base/355602 Log: Add a few missed source files to libllvm, for the MK_LLVM_TARGET_BPF=yes case. Otherwise, linking of clang and other llvm based executables would complain about missing

svn commit: r355601 - in head/sys: cam cam/ata cam/scsi dev/aic7xxx dev/isp dev/kbdmux dev/mpt dev/ocs_fc dev/ppbus dev/sbni dev/smc dev/syscons dev/uart netgraph/netflow netinet

2019-12-10 Thread John Baldwin
Author: jhb Date: Tue Dec 10 22:06:53 2019 New Revision: 355601 URL: https://svnweb.freebsd.org/changeset/base/355601 Log: Use callout_func_t instead of the deprecated timeout_t. Reviewed by: kib, imp Differential Revision:https://reviews.freebsd.org/D22752 Modified: head/sys/

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

2019-12-10 Thread John Baldwin
Author: jhb Date: Tue Dec 10 21:58:30 2019 New Revision: 355600 URL: https://svnweb.freebsd.org/changeset/base/355600 Log: Add a callout_func_t typedef for functions used with callout_*(). This typedef is the same as timeout_t except that it is in the callout namespace and header. Us

svn commit: r355599 - head/libexec/rtld-elf/riscv

2019-12-10 Thread John Baldwin
Author: jhb Date: Tue Dec 10 21:56:44 2019 New Revision: 355599 URL: https://svnweb.freebsd.org/changeset/base/355599 Log: Correct the offset of static TLS variables for Initial-Exec on RISC-V. TP points to the start of the TLS block after the tcb, but Obj_Entry.tlsoffset includes the tcb

svn commit: r355598 - head/sys/dev/ow

2019-12-10 Thread Ian Lepore
Author: ian Date: Tue Dec 10 21:48:21 2019 New Revision: 355598 URL: https://svnweb.freebsd.org/changeset/base/355598 Log: Do not attach children of owc_gpiobus until interrupts are working. The children of the bus need to do IO on the bus to probe for hardware presence. Doing IO means t

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

2019-12-10 Thread Navdeep Parhar
Author: np Date: Tue Dec 10 20:51:28 2019 New Revision: 355597 URL: https://svnweb.freebsd.org/changeset/base/355597 Log: cxgbe(4): Man page updates to go with r355107. MFC after:1 week Sponsored by: Chelsio Communications Modified: head/share/man/man4/cxgbe.4 Modified: head/share

svn commit: r355596 - head/sys/dev/ichiic

2019-12-10 Thread Vladimir Kondratyev
Author: wulf Date: Tue Dec 10 20:23:05 2019 New Revision: 355596 URL: https://svnweb.freebsd.org/changeset/base/355596 Log: [ig4] Remove unused methods from bus interface bus_get/set_resource methods are implemented in child device (iicbus). As their implementation with bus_generic_rl_get

svn commit: r355595 - head/sys/dev/cxgbe

2019-12-10 Thread Navdeep Parhar
Author: np Date: Tue Dec 10 20:12:21 2019 New Revision: 355595 URL: https://svnweb.freebsd.org/changeset/base/355595 Log: cxgbe(4): Simplify the firmware version checks a bit. No functional change. MFC after:1 week Modified: head/sys/dev/cxgbe/t4_main.c Modified: head/sys/dev/c

svn commit: r355594 - head/share/vt/keymaps

2019-12-10 Thread Ed Maste
Author: emaste Date: Tue Dec 10 20:11:39 2019 New Revision: 355594 URL: https://svnweb.freebsd.org/changeset/base/355594 Log: remove again nonexistent from-* entries from vt INDEX.keymaps A number of entries of the form "de.kbd.from-cp850" existed in vt's INDEX.keymaps, added in r270114,

svn commit: r355593 - head/sbin/fsck_ffs

2019-12-10 Thread Eric van Gyzen
Author: vangyzen Date: Tue Dec 10 20:04:08 2019 New Revision: 355593 URL: https://svnweb.freebsd.org/changeset/base/355593 Log: fsck_ffs: fix some memory leaks found by Coverity. Reported by: Coverity CID: 1380549 1380550 1380551 MFC after:1 week Sponsored by: Dell EMC I

svn commit: r355592 - in head/share/vt: fonts keymaps

2019-12-10 Thread Ed Maste
Author: emaste Date: Tue Dec 10 20:02:57 2019 New Revision: 355592 URL: https://svnweb.freebsd.org/changeset/base/355592 Log: Add Danish translation for vt font and keymap INDEX files Also sort some entries into the correct location, correct MacBook capitalization, etc. PR:

Re: svn commit: r355585 - head/share/vt/keymaps

2019-12-10 Thread Stefan Eßer
Am 10.12.19 um 13:59 schrieb Ed Maste: > On Tue, 10 Dec 2019 at 10:22, Stefan Eßer wrote: >> >> Nobody seems to have noticed this problem for more than 5 years, >> though. > > Probably because there's no user-facing impact - nonexistent keymap > files are just omitted from the list. I'm glad so

svn commit: r355591 - head/share/vt/keymaps

2019-12-10 Thread Stefan Esser
Author: se Date: Tue Dec 10 19:52:29 2019 New Revision: 355591 URL: https://svnweb.freebsd.org/changeset/base/355591 Log: Replace two remaining hex values for control codes with their names. These were the only values in the range from 0 to 0x1f that were defined as hex values, all other

Re: svn commit: r355590 - in head/usr.bin/sed: . tests tests/regress.multitest.out

2019-12-10 Thread Kyle Evans
On Tue, Dec 10, 2019 at 1:16 PM Kyle Evans wrote: > > Author: kevans > Date: Tue Dec 10 19:16:00 2019 > New Revision: 355590 > URL: https://svnweb.freebsd.org/changeset/base/355590 > > Log: > sed: process \r, \n, and \t > > This is both reasonable and a common GNUism that a lot of ported softw

svn commit: r355590 - in head/usr.bin/sed: . tests tests/regress.multitest.out

2019-12-10 Thread Kyle Evans
Author: kevans Date: Tue Dec 10 19:16:00 2019 New Revision: 355590 URL: https://svnweb.freebsd.org/changeset/base/355590 Log: sed: process \r, \n, and \t This is both reasonable and a common GNUism that a lot of ported software expects. Universally process \r, \n, and \t into carriag

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

2019-12-10 Thread Scott Long
Author: scottl Date: Tue Dec 10 18:57:39 2019 New Revision: 355589 URL: https://svnweb.freebsd.org/changeset/base/355589 Log: Fix the TAA state machine to do the right thing when the TAA migitation is available in microcode and the operator has set the sysctl to automatic mode. Reported

svn commit: r355588 - head/share/mk

2019-12-10 Thread Bryan Drewery
Author: bdrewery Date: Tue Dec 10 18:50:50 2019 New Revision: 355588 URL: https://svnweb.freebsd.org/changeset/base/355588 Log: Fix WITHOUT_CLANG build. This decouples MK_LLVM_TARGET_ALL from MK_CLANG. It is fine if LLVM_TARGET_* are set even if MK_CLANG is disabled. It never made sense

svn commit: r355587 - head/sys/vm

2019-12-10 Thread Mark Johnston
Author: markj Date: Tue Dec 10 18:15:20 2019 New Revision: 355587 URL: https://svnweb.freebsd.org/changeset/base/355587 Log: Add a helper function to the swapout daemon's deactivation code. vm_swapout_object_deactivate_pages() is renamed to vm_swapout_object_deactivate(), and the loop bod

svn commit: r355586 - in head/sys: amd64/amd64 amd64/include arm/include arm64/arm64 arm64/include dev/virtio/balloon i386/i386 i386/include mips/include mips/mips powerpc/aim powerpc/include riscv...

2019-12-10 Thread Mark Johnston
Author: markj Date: Tue Dec 10 18:14:50 2019 New Revision: 355586 URL: https://svnweb.freebsd.org/changeset/base/355586 Log: Introduce vm_page_astate. This is a 32-bit structure embedded in each vm_page, consisting mostly of page queue state. The use of a structure makes it easy to store

Re: svn commit: r355585 - head/share/vt/keymaps

2019-12-10 Thread Ed Maste
On Tue, 10 Dec 2019 at 10:22, Stefan Eßer wrote: > > Nobody seems to have noticed this problem for more than 5 years, > though. Probably because there's no user-facing impact - nonexistent keymap files are just omitted from the list. I'm glad someone eventually looked and submitted a PR :) There

Re: svn commit: r355585 - head/share/vt/keymaps

2019-12-10 Thread Stefan Eßer
Am 10.12.19 um 15:35 schrieb Ed Maste: > Author: emaste > Date: Tue Dec 10 14:35:38 2019 > New Revision: 355585 > URL: https://svnweb.freebsd.org/changeset/base/355585 > > Log: > remove nonexistent from-* entries from vt INDEX.keymaps > > A number of entries of the form "de.kbd.from-cp850"

svn commit: r355585 - head/share/vt/keymaps

2019-12-10 Thread Ed Maste
Author: emaste Date: Tue Dec 10 14:35:38 2019 New Revision: 355585 URL: https://svnweb.freebsd.org/changeset/base/355585 Log: remove nonexistent from-* entries from vt INDEX.keymaps A number of entries of the form "de.kbd.from-cp850" existed in vt's INDEX.keymaps, added in r270114, but th

svn commit: r355584 - head/sys/ufs/ufs

2019-12-10 Thread Konstantin Belousov
Author: kib Date: Tue Dec 10 14:07:05 2019 New Revision: 355584 URL: https://svnweb.freebsd.org/changeset/base/355584 Log: UFS: implement VOP_INACTIVE() The checks literally repeat conditions that make ufs_inactive() to take some actions. Reviewed by: jeff Tested by:pho Spon

svn commit: r355583 - in head/share: syscons/fonts syscons/keymaps vt/keymaps

2019-12-10 Thread Ed Maste
Author: emaste Date: Tue Dec 10 13:52:08 2019 New Revision: 355583 URL: https://svnweb.freebsd.org/changeset/base/355583 Log: strip trailing whitespace from font and keymap INDEX files PR: 235853 Submitted by: scootergrisen gmail com MFC after:1 week Modified: head/shar

svn commit: r355582 - head/share/mk

2019-12-10 Thread Alex Richardson
Author: arichardson Date: Tue Dec 10 12:12:48 2019 New Revision: 355582 URL: https://svnweb.freebsd.org/changeset/base/355582 Log: Use ${.ALLSRC:Ninstalldirs-*} instead of assuming order of .ALLSRC This is a follow-up to https://reviews.freebsd.org/D22382 Suggested By: sjg Modified:

svn commit: r355581 - head/sys/netpfil/ipfw

2019-12-10 Thread Andrey V. Elsukov
Author: ae Date: Tue Dec 10 10:35:32 2019 New Revision: 355581 URL: https://svnweb.freebsd.org/changeset/base/355581 Log: Avoid access to stale ip pointer and call UPDATE_POINTERS() after PULLUP_LEN_LOCKED(). PULLUP_LEN_LOCKED() could update mbuf and thus we need to update related point

Re: svn commit: r355487 - in head/sys: arm64/arm64 arm64/include conf

2019-12-10 Thread Peter Jeremy
On 2019-Dec-09 08:38:01 -0600, Kyle Evans wrote: ... >> +static vm_offset_t >> +freebsd_parse_boot_param(struct arm64_bootparams *abp) >> +{ >> + vm_offset_t lastaddr = 0; >> + void *kmdp; >> +#ifdef DDB >> + vm_offset_t ksym_start; >> + vm_offset_t ksym_end; >> +#endif >>

svn commit: r355580 - head/sys/dev/cxgbe

2019-12-10 Thread Navdeep Parhar
Author: np Date: Tue Dec 10 08:16:19 2019 New Revision: 355580 URL: https://svnweb.freebsd.org/changeset/base/355580 Log: cxgbe(4): Use TX_PKTS2 work requests in netmap Tx if it's available. TX_PKTS2 is more efficient within the firmware and this improves netmap Tx by a few Mpps in some c