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

2020-07-23 Thread John-Mark Gurney
Author: jmg Date: Fri Jul 24 00:47:14 2020 New Revision: 363468 URL: https://svnweb.freebsd.org/changeset/base/363468 Log: fix up docs for m_getjcl as well.. Modified: head/share/man/man9/mbuf.9 Modified: head/share/man/man9/mbuf.9

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

2020-07-23 Thread John-Mark Gurney
Author: jmg Date: Fri Jul 24 00:35:21 2020 New Revision: 363467 URL: https://svnweb.freebsd.org/changeset/base/363467 Log: document that m_get2 only accepts up to MJUMPAGESIZE.. Modified: head/share/man/man9/mbuf.9 Modified: head/share/man/man9/mbuf.9

Re: svn commit: r363188 - in head: lib/libpmc sys/dev/hwpmc

2020-07-23 Thread John Baldwin
On 7/23/20 4:44 PM, Alexander Motin wrote: > On 23.07.2020 19:15, John Baldwin wrote: >> On 7/14/20 11:11 AM, Alexander Motin wrote: >>> Author: mav >>> Date: Tue Jul 14 18:11:05 2020 >>> New Revision: 363188 >>> URL: https://svnweb.freebsd.org/changeset/base/363188 >>> >>> Log: >>> Add stepping

svn commit: r363464 - in head: share/man/man4 sys/kern sys/opencrypto sys/sys

2020-07-23 Thread John Baldwin
Author: jhb Date: Thu Jul 23 23:48:18 2020 New Revision: 363464 URL: https://svnweb.freebsd.org/changeset/base/363464 Log: Add support for KTLS RX via software decryption. Allow TLS records to be decrypted in the kernel after being received by a NIC. At a high level this is somewhat

Re: svn commit: r363188 - in head: lib/libpmc sys/dev/hwpmc

2020-07-23 Thread Mateusz Guzik
I don't think that's worth the effort. However, versioning would be nice. Then tooling could nicely crap out immediately instead of giving funny results (or no results). On 7/24/20, Alexander Motin wrote: > On 23.07.2020 19:15, John Baldwin wrote: >> On 7/14/20 11:11 AM, Alexander Motin wrote:

Re: svn commit: r363188 - in head: lib/libpmc sys/dev/hwpmc

2020-07-23 Thread Alexander Motin
On 23.07.2020 19:15, John Baldwin wrote: > On 7/14/20 11:11 AM, Alexander Motin wrote: >> Author: mav >> Date: Tue Jul 14 18:11:05 2020 >> New Revision: 363188 >> URL: https://svnweb.freebsd.org/changeset/base/363188 >> >> Log: >> Add stepping to the kern.hwpmc.cpuid string on x86. >> >> It

svn commit: r363463 - head/tests/sys/geom/class/mirror

2020-07-23 Thread Bryan Drewery
Author: bdrewery Date: Thu Jul 23 23:29:50 2020 New Revision: 363463 URL: https://svnweb.freebsd.org/changeset/base/363463 Log: Limit gmirror failpoint tests to the test worker This avoids injecting errors into the test system's mirrors. gnop seems like a good solution here but it

Re: svn commit: r363188 - in head: lib/libpmc sys/dev/hwpmc

2020-07-23 Thread John Baldwin
On 7/14/20 11:11 AM, Alexander Motin wrote: > Author: mav > Date: Tue Jul 14 18:11:05 2020 > New Revision: 363188 > URL: https://svnweb.freebsd.org/changeset/base/363188 > > Log: > Add stepping to the kern.hwpmc.cpuid string on x86. > > It follows the equivalent Linux change to be able to

svn commit: r363462 - head/usr.sbin/efibootmgr

2020-07-23 Thread John-Mark Gurney
Author: jmg Date: Thu Jul 23 22:28:35 2020 New Revision: 363462 URL: https://svnweb.freebsd.org/changeset/base/363462 Log: update example to make it active when creating a new boot method... Clean up some of the sentences and grammar... make igor happy.. Modified:

svn commit: r363461 - head/sys/opencrypto

2020-07-23 Thread John Baldwin
Author: jhb Date: Thu Jul 23 21:43:06 2020 New Revision: 363461 URL: https://svnweb.freebsd.org/changeset/base/363461 Log: Consolidate duplicated code into a ktls_ocf_dispatch function. This function manages the loop around crypto_dispatch and coordination with ktls_ocf_callback.

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

2020-07-23 Thread John Baldwin
Author: jhb Date: Thu Jul 23 21:40:03 2020 New Revision: 363460 URL: https://svnweb.freebsd.org/changeset/base/363460 Log: Set si_trapno to the exception code from esr. Reviewed by: kib Sponsored by: DARPA Differential Revision:https://reviews.freebsd.org/D25771 Modified:

svn commit: r363459 - head/sys/riscv/riscv

2020-07-23 Thread John Baldwin
Author: jhb Date: Thu Jul 23 21:33:10 2020 New Revision: 363459 URL: https://svnweb.freebsd.org/changeset/base/363459 Log: Pass the right size to memcpy() when copying the array of FP registers. The size of the containing structure was passed instead of the size of the array. This

svn commit: r363458 - head/sys/mips/mips

2020-07-23 Thread John Baldwin
Author: jhb Date: Thu Jul 23 20:08:42 2020 New Revision: 363458 URL: https://svnweb.freebsd.org/changeset/base/363458 Log: Set si_addr to badvaddr for TLB faults. Reviewed by: kib Sponsored by: DARPA Differential Revision:https://reviews.freebsd.org/D25775 Modified:

svn commit: r363457 - head/sbin/md5

2020-07-23 Thread Ed Maste
Author: emaste Date: Thu Jul 23 20:06:24 2020 New Revision: 363457 URL: https://svnweb.freebsd.org/changeset/base/363457 Log: md5: return non-zero if built-in tests (-x) fail MFC after:1 week Sponsored by: The FreeBSD Foundation Modified: head/sbin/md5/md5.c Modified:

svn commit: r363456 - head/sys/netinet

2020-07-23 Thread Michael Tuexen
Author: tuexen Date: Thu Jul 23 19:43:49 2020 New Revision: 363456 URL: https://svnweb.freebsd.org/changeset/base/363456 Log: Clear the pointer to the socket when closing it also in case of an ungraceful operation. This fixes a use-after-free bug found and reported by Taylor Brandstetter

svn commit: r363455 - head/sys/modules/crypto

2020-07-23 Thread Ed Maste
Author: emaste Date: Thu Jul 23 19:19:33 2020 New Revision: 363455 URL: https://svnweb.freebsd.org/changeset/base/363455 Log: modules/crypto: disable optimized assembly skein1024 implementation It is presumably broken in the same way as userland skein1024 (see r363454) PR:

svn commit: r363454 - head/lib/libmd

2020-07-23 Thread Ed Maste
Author: emaste Date: Thu Jul 23 18:55:47 2020 New Revision: 363454 URL: https://svnweb.freebsd.org/changeset/base/363454 Log: libmd: temporarily disable optimized assembly skein1024 implementation It is apparently broken when assembled by contemporary GNU as as well as Clang IAS (which

Please include benchmarks in commit messages (was Re: svn commit: r363450 - in head: share/man/man3 sys/sys)

2020-07-23 Thread Colin Percival
[Picking this as an example of a general trend...] On 2020-07-23 10:16, Doug Moore wrote: > [...] > Testing has shown that for the cases where red-black trees do worst, > wavl trees better balance leads to faster lookups, so that if lookups > outnumber insertions by a nontrivial amount,

svn commit: r363452 - head/libexec/rc/rc.d

2020-07-23 Thread Cy Schubert
Author: cy Date: Thu Jul 23 17:39:45 2020 New Revision: 363452 URL: https://svnweb.freebsd.org/changeset/base/363452 Log: Load ipfilter, ipnat, and ippool rules, and start ipmon in a vnet jail. PR: 248109 Reported by: jo...@a1poweruser.com MFC after:2 weeks Modified:

svn commit: r363453 - head/contrib/ipfilter/man

2020-07-23 Thread Cy Schubert
Author: cy Date: Thu Jul 23 17:39:49 2020 New Revision: 363453 URL: https://svnweb.freebsd.org/changeset/base/363453 Log: Document the IPFILTER_PREDEFINED environment variable. PR: 248088 Reported by: jo...@a1poweruser.com MFC after:1 week Modified:

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

2020-07-23 Thread Mateusz Guzik
Author: mjg Date: Thu Jul 23 17:26:53 2020 New Revision: 363451 URL: https://svnweb.freebsd.org/changeset/base/363451 Log: locks: fix a long standing bug for primitives with kdtrace but without spinning In such a case the second argument to lock_delay_arg_init was NULL which was

svn commit: r363450 - in head: share/man/man3 sys/sys

2020-07-23 Thread Doug Moore
Author: dougm Date: Thu Jul 23 17:16:20 2020 New Revision: 363450 URL: https://svnweb.freebsd.org/changeset/base/363450 Log: Rank balanced (RB) trees are a class of balanced trees that includes AVL trees, red-black trees, and others. Weak AVL (wavl) trees are a recently discovered member of

svn commit: r363449 - head/libexec/rc

2020-07-23 Thread Mark Johnston
Author: markj Date: Thu Jul 23 15:03:28 2020 New Revision: 363449 URL: https://svnweb.freebsd.org/changeset/base/363449 Log: rc.firewall: Merge two identical conditions into one. No functional change intended. PR: 247949 Submitted by: Jose Luis Duran MFC after:1

svn commit: r363448 - head/sbin/nvmecontrol

2020-07-23 Thread Alexander Motin
Author: mav Date: Thu Jul 23 14:33:25 2020 New Revision: 363448 URL: https://svnweb.freebsd.org/changeset/base/363448 Log: Add missing newlines. MFC after:3 days Modified: head/sbin/nvmecontrol/identify.c Modified: head/sbin/nvmecontrol/identify.c

svn commit: r363447 - in head/cddl/contrib/opensolaris: cmd/zpool lib/libzfs/common

2020-07-23 Thread Mark Johnston
Author: markj Date: Thu Jul 23 14:21:45 2020 New Revision: 363447 URL: https://svnweb.freebsd.org/changeset/base/363447 Log: MFOpenZFS: Fix zpool history unbounded memory usage In original implementation, zpool history will read the whole history before printing anything, causing memory

svn commit: r363446 - head/sys/fs/cuse

2020-07-23 Thread Mark Johnston
Author: markj Date: Thu Jul 23 14:03:37 2020 New Revision: 363446 URL: https://svnweb.freebsd.org/changeset/base/363446 Log: cuse: Stop checking for failures from malloc(M_WAITOK). PR: 240545 Submitted by: Andrew Reiter Reviewed by: hselasky MFC after:1 week

svn commit: r363445 - head/sys/dev/ntb/test

2020-07-23 Thread Mark Johnston
Author: markj Date: Thu Jul 23 14:03:24 2020 New Revision: 363445 URL: https://svnweb.freebsd.org/changeset/base/363445 Log: ntb: Stop checking for failures from malloc(M_WAITOK). PR: 240545 Submitted by: Andrew Reiter Reviewed by: cem, mav MFC after:1 week

svn commit: r363444 - head/sys/vm

2020-07-23 Thread Mateusz Guzik
Author: mjg Date: Thu Jul 23 08:42:16 2020 New Revision: 363444 URL: https://svnweb.freebsd.org/changeset/base/363444 Log: vm: annotate swap_reserved with __exclusive_cache_line The counter keeps being updated all the time and variables read afterwards share the cacheline. Note this