r362917 rmacklem July 4, 2020, 3:28 a.m.
This is another in the series of commits that add support to the NFS client
and server for building RPC messages in ext_pgs mbufs with anonymous pages.
This is useful so that the entire mbuf list does not need to be
copied before calling sosend() when NFS over TLS is enabled.

Since ND_EXTPG is never set yet, there is no semantic change at this time.
ViewVC
r362914 emaste July 3, 2020, 8:32 p.m.
Previously bc segfaulted at start, on powerpc64.

PR:		247738
Submitted by:	luporl
Reported by:	pkubaj
MFC after:	1 week
ViewVC
r362913 cem July 3, 2020, 2:54 p.m.
Like other types of allocation, fpu_kern_ctx are frequently allocated per-cpu.
Provide the API and sketch some example consumers.

fpu_kern_alloc_ctx_domain() preferentially allocates memory from the
provided domain, and falls back to other domains if that one is empty
(DOMAINSET_PREF(domain) policy).

Maybe it makes more sense to just shove one of these in the DPCPU area
sooner or later -- left for future work.

Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D22053
ViewVC
r362910 mjg July 3, 2020, 9:23 a.m.
They trigger for some people, the bug is not obvious, there are no takers
for fixing it, the issue already had to be there for years beforehand and
is low priority.
ViewVC
r362909 melifaro July 3, 2020, 8:06 a.m.
PR:		kern/247729
ViewVC
r362906 rmacklem July 3, 2020, 5:21 a.m.
vm_page.h and vm_pageout.h is needed later, so put them in now.

Pointy hat goes on me.
ViewVC
r362905 np July 3, 2020, 4:44 a.m.
- Ask the firmware for the number of frames that can be stuffed in one
  work request.

- Modify mp_ring to increase the likelihood of tx coalescing when there
  are just one or two threads that are doing most of the tx.  Add teeth
  to the abdication mechanism by pushing the consumer lock into mp_ring.
  This reduces the likelihood that a consumer will get stuck with all
  the work even though it is above its budget.

- Add support for coalesced tx WR to the VF driver.  This, with the
  changes above, results in a 7x improvement in the tx pps of the VF
  driver for some common cases.  The firmware vets the L2 headers
  submitted by the VF driver and it's a big win if the checks are
  performed for a batch of packets and not each one individually.

Reviewed by:	jhb@
MFC after:	2 weeks
Sponsored by:	Chelsio Communications
Differential Revision:	https://reviews.freebsd.org/D25454
ViewVC
r362904 lwhsu July 3, 2020, 2:02 a.m.
PR:		247729
Sponsored by:	The FreeBSD Foundation
ViewVC
r362903 rmacklem July 3, 2020, 1:19 a.m.
This is the first of a series of commits that add support to the NFS client
and server for building RPC messages in ext_pgs mbufs with anonymous pages.
This is useful so that the entire mbuf list does not need to be
copied before calling sosend() when NFS over TLS is enabled.

Since ND_EXTPG is never set yet, there is no semantic change at this time.
ViewVC
r362902 jhb July 3, 2020, 12:09 a.m.
Reviewed by:	kib
Sponsored by:	DARPA
Differential Revision:	https://reviews.freebsd.org/D25537
ViewVC
r362901 grog July 2, 2020, 10:59 p.m.
r362900 melifaro July 2, 2020, 9:04 p.m.
fib[46]_lookup_nh_ represents pre-epoch generation of fib api, providing less guarantees
 over pointer validness and requiring on-stack data copying.

With no callers remaining, remove fib[46]_lookup_nh_ functions.

Submitted by:	Neel Chauhan <neel AT neelc DOT org>
Differential Revision:	https://reviews.freebsd.org/D25445
ViewVC
r362891 asomers July 2, 2020, 1:17 p.m.
Must acquire the z_teardown_lock before accessing the zfsvfs_t object. I
can't reproduce this panic on demand, but this looks like the correct
solution.

PR:		247668
Reviewed by:	avg
MFC after:	2 weeks
Sponsored by:	Axcient
Differential Revision:	https://reviews.freebsd.org/D25543
ViewVC
r362890 mjg July 2, 2020, 12:58 p.m.
This matches crhold and eliminates an assembly maze in the common case.
ViewVC
r362889 mjg July 2, 2020, 12:56 p.m.
Note the dtrace probe can fire even the entry is gone, but I don't think that's
worth fixing.
ViewVC