r351245 jhibbits Aug. 20, 2019, 1:26 a.m.
Reduce the diff between AIM and Book-E even more.  This also cleans up
vmparam.h significantly.

Reviewed by:	luporl
Differential Revision:	https://reviews.freebsd.org/D21301
r351244 stevek Aug. 20, 2019, 1:06 a.m.
order to have struct mii_data available. However, it only really needs
a forward declaration of struct mii_data for use in pointer form for
the return type of a function prototype.

Custom kernel configuration that have usb and fdt enabled, but no miibus,
end up with compilation failures because miibus_if.h will not get

Due to the above, the following changes have been made to usb_ethernet.h:
 * remove the inclusion of mii headers
 * forward-declare struct mii_data
 * include net/ifq.h to satify the need for complete struct ifqueue

Reviewed by:	ian
Obtained from:	Juniper Networks, Inc.
Differential Revision:	https://reviews.freebsd.org/D21293
r351241 jeff Aug. 19, 2019, 11:09 p.m.
require the object lock.

Reviewed by:	markj
Tested by:	pho (as part of a larger branch)
Sponsored by:	Netflix
Differential Revision:	https://reviews.freebsd.org/D21311
r351240 cem Aug. 19, 2019, 11:01 p.m.
Meant to fix this before committing, but forgot.
r351239 cem Aug. 19, 2019, 10:58 p.m.
Sometimes GDB gets confused about what the current thread is.  When it does,
it asks the remote: "Who am I?"

Answer it.
r351238 cem Aug. 19, 2019, 10:57 p.m.
We suffer at least one round trip ACK latency every command / packet that
GDB has to send and receive, and the response format for 'info threads'
supports packing many threads IDs into a single packet, so do so.

Adds and uses a new API, gdb_txbuf_has_capacity(), which checks for a
certain number of bytes available in the outgoing txbuf.

On an example amd64 VM, the number of RTTs to transmit this list is reduced
by a factor of 110x.  This is especially beneficial with recent GDB, which
seems to request the list at least twice during attach.
r351237 cem Aug. 19, 2019, 10:53 p.m.
r351235 jeff Aug. 19, 2019, 10:25 p.m.
VM_OBJECT_DROP/VM_OBJECT_PICKUP to handle functions that are called with
uncertain lock state.

Reviewed by:	kib, markj
Tested by:	pho
Sponsored by:	Netflix
Differential Revision:	https://reviews.freebsd.org/D21310
r351233 jkim Aug. 19, 2019, 9:45 p.m.
It was an experiment and not meant to be committed. :-(
r351232 emaste Aug. 19, 2019, 9:38 p.m.
Submitted by:	ryan_freqlabs.com, Siva Mahadevan
Differential Revision:	https://reviews.freebsd.org/D21316
r351231 jkim Aug. 19, 2019, 9:30 p.m.
Note this commit was inspired by r350433.

MFC after:	2 weeks
r351230 emaste Aug. 19, 2019, 9:21 p.m.
Sponsored by:	The FreeBSD Foundation
r351229 kevans Aug. 19, 2019, 7:01 p.m.
When tun/tap were merged, appropriate MODULE_VERSION should have been added
for things like modfind(2) to continue to do the right thing with the old

Reported by:	jhb
r351227 kevans Aug. 19, 2019, 6:15 p.m.
Compiling with a more modern toolchain than GCC 4.2 in base warns about the
empty struct. Take a hint and comment from r350902+r350953 by luporl@.
r351226 asomers Aug. 19, 2019, 5:54 p.m.
Submitted by:	Ján Sučan <sucanjan@gmail.com>
MFC after:	2 weeks
Sponsored by:	Google, inc. (Google Summer of Code 2019)
Differential Revision:	https://reviews.freebsd.org/D21322