MFC r268601:

Make bind(2) and connect(2) return EAFNOSUPPORT for AF_UNIX on wrong
address family.

See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191586 for the
original discussion.

Reviewed by:	terry
MFC r268643:

Document that listen(2) can fail with EDESTADDRREQ.
MFC r268787:

Deprecate m_act.  Use m_nextpkt always.
MFC r268825:

Remove deprecated definition "m_act".

Suggested by:	adrian, glebius
MFC r268384:
When the lock was stolen from us, retry the whole lock sequence in kernel,
instead of returning EINTR.
MFC r268660:
Make amd64 pmap_copy_pages() functional for pages not mapped by DMAP.
MFC r258471: Don't abort SMAP processing after an entry of length 0

  Length 0 is not special and should just be skipped.  This is the same
  behaviour as i386.

Sponsored by:	The FreeBSD Foundation
MFC r268420:
Remove IO_SYNC flag when writing extended file attributes on ZFS.

While it is possible to create and write file, modify its permissions, etc.
without ever doing sync, it looks odd that it is required for setting
extended file attributes on ZFS.  UFS does not do sync there too.

Samba uses those extended attributes to store some its data, and doing it
synchronously by many times reduces file creation performance for systems
without SLOG device.
MFC r268947: Hide syscons-specific workaround under DEV_SC
MFC r267613 (by trasz):
Implement redirection handling in initiator.
MFC r266169 (by trasz):
Remove unused variable.
MFC r267608 (by trasz):
Use proper term in debug messages.
MFC r267609 (by trasz):
Improve code a little; no functional changes.
MFC r267612 (by trasz):
Get rid of unneccessary argument.
MFC r268289:
Fix minor copy-paste bug in r268284.
MFC r268457 (by pluknet):
Fix typos.
MFC r267213 (by alc):
Add a page size field to struct vm_page.

Approved by:	alc
MFC r268466:
Calculate the amount of resident pages by looking in the objects chain
backing the region. Add a knob to disable the residency calculation at
all.

MFC r268490:
Unconditionally initialize addr to handle the case of changed map
timestamp while the map is unlocked.

MFC r268711:
Change the calculation of the kinfo_vmentry field kve_private_resident
to reflect its name.

MFC r268712:
Followup to r268466.
- Move the code to calculate resident count into separate function.
  It reduces the indent level and makes the operation of
  vmmap_skip_res_cnt tunable more clear.
- Optimize the calculation of the resident page count for map entry.
  Skip directly to the next lowest available index and page among the
  whole shadow chain.
- Restore the use of pmap_incore(9), only to verify that current
  mapping is indeed superpage.
- Note the issue with the invalid pages.
MFC r268957:

Run mtree for BSD.tests.dist during make xdev-install, if the tests are
enabled (which they are in the default configuration).  Otherwise, it
will fail because ${XDDESTDIR}/usr/include/atf-c does not exist.
MFC r268640 and r268989.

r268640:
Allow multi-byte reads in the private CHELSIO_T4_GET_I2C ioctl.  The
firmware allows up to 48B to be read this way but the driver limits
itself to 8B at a time to remain compatible with old cxgbetool
binaries.

r268989:
Add missing newline to an error message.