r339666 jhb Oct. 23, 2018, 6:31 p.m.
MFC after:	2 months
Sponsored by:	Chelsio Communications
ViewVC
r339665 jhb Oct. 23, 2018, 6:07 p.m.
MFC after:	2 months
Sponsored by:	Chelsio Communications
ViewVC
r339664 markj Oct. 23, 2018, 6:07 p.m.
Reported by:	yuripv
X-MFC with:	r339452
Sponsored by:	The FreeBSD Foundation
ViewVC
r339663 kib Oct. 23, 2018, 5:53 p.m.
Several code paths might result in returning uninitialized value.

Reported by:	coverity through cem
CID:	1396315
Sponsored by:	The FreeBSD Foundation
ViewVC
r339662 erj Oct. 23, 2018, 5:06 p.m.
That commit is causing kernel panics in em(4), so this will be reverted
until those are fixed.

Reported by:	ae@, pho@, et al
Sponsored by:	Intel Corporation
ViewVC
r339661 markj Oct. 23, 2018, 4:35 p.m.
Before this change we had two flavours of vm_domainset iterators: "page"
and "malloc".  The latter was only used for kmem_*() and hard-coded its
behaviour based on kernel_object's policy.  Moreover, its use contained
a race similar to that fixed by r338755 since the kernel_object's
iterator was being run without the object lock.

In some cases it is useful to be able to explicitly specify a policy
(domainset) or policy+iterator (domainset_ref) when performing memory
allocations.  To that end, refactor the vm_dominset_* KPI to permit
this, and get rid of the "malloc" domainset_iter KPI in the process.

Reviewed by:	jeff (previous version)
Tested by:	pho (part of a larger patch)
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D17417
ViewVC
r339659 vmaffione Oct. 23, 2018, 3:34 p.m.
Added bridge(8).
Also, minor fixes to the netmap "bridge" application:
 - indentation fixes and code cleanup
 - better usage description
 - better processing of netmap flags

Reviewed by:	0mp
Approved by:	gnn (mentor)
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D17664
ViewVC
r339658 tsoome Oct. 23, 2018, 2:44 p.m.
The 4kn support in current bios specific biosdisk.c is broken, as the code
is only implementing the support for the 512B sector size.

This work is building the support for custom size sectors, we still do assume
the requested data to be multiple of 512B blocks and we only do address the
biosdisk.c interface here.

For reference, see also:
https://www.illumos.org/issues/8303
https://www.illumos.org/rb/r/547

As the GELI is moved above biosdisk "layer", the GELI should just work

Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D11174
ViewVC
r339657 gjb Oct. 23, 2018, 2:38 p.m.
incorrectly removed from head when it should have been removed
from stable/12 post-branch.

Reported by:	bdrewery
Sponsored by:	The FreeBSD Foundation
ViewVC
r339656 cy Oct. 23, 2018, 2:16 p.m.
gets(3) does. This was missed in r331936.

Reported by:	emaste@
MFC after:	3 days
ViewVC
r339655 trasz Oct. 23, 2018, 2:11 p.m.
Rework the way jemalloc uses mmap(2) on FreeBSD.

    This makes it directly use MAP_EXCL and MAP_ALIGNED() instead
    of weird workarounds involving mapping at random places and then
    unmapping parts of them.

Discussed with:	jasone
MFC after:	2 weeks
Sponsored by:	DARPA, AFRL
ViewVC
r339654 trasz Oct. 23, 2018, 1:54 p.m.
Disable runtime detection of lazy purging support on FreeBSD.

    The check doesn't seem to serve any purpose here, and this shaves
    off three syscalls on binary startup.

Discussed by:	jasone
MFC after:	2 weeks
Sponsored by:	DARPA, AFRL
ViewVC
r339653 markj Oct. 23, 2018, 1:49 p.m.
PR:		231926
Reviewed by:	emaste
MFC after:	1 month
ViewVC
r339651 tsoome Oct. 23, 2018, 1:38 p.m.
In current tftp code we drop out-of-order packets; however, we should play
nice and re-send ACK for older data packets we are receiving. This will
hopefully stop server repeating those packets we already have received.
Note we do not answer duplicates from "previous" session (that is, session
with different port number), those will eventually time out.

Differential Revision:	https://reviews.freebsd.org/D17087
ViewVC
r339649 ae Oct. 23, 2018, 1:11 p.m.
This change is similar to r339646. The callback that checks for appearing
and disappearing of tunnel ingress address can be called during VNET
teardown. To prevent access to already freed memory, add check to the
callback and epoch_wait() call to be sure that callback has finished its
work.

MFC after:	20 days
ViewVC