Rename remaining DIAGNOSTIC to INVARIANTS.

MFC after:	3 days


git-svn-id: svn+ssh://svn.freebsd.org/base/head@251823 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Adjust i386 Xen PV support for updated Xen interface files.

sys/i386/include/xen/xenvar.h:
sys/i386/xen/xen_machdep.c:
sys/xen/interface/foreign/structs.py:
sys/xen/evtchn/evtchn.c:
	MAX_VIRT_CPUS => XEN_LEGACY_MAX_VCPUS

Submitted by:	Roger Pau Monné
Reviewed by:	gibbs


git-svn-id: svn+ssh://svn.freebsd.org/base/head@251824 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Remove vfs_mount(9), it have been died since 2004.

Noticed by:	git via alfred
MFC after:	2 weeks


git-svn-id: svn+ssh://svn.freebsd.org/base/head@251825 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
 - Add a new UMA API: uma_zcache_create().  This makes a zone without any
   backing memory that is only a container for per-cpu caches of arbitrary
   pointer items.  These zones have no kegs.
 - Convert the regular keg based allocator to use the new import/release
   functions.
 - Move some stats to be atomics since they would require excessive zone
   locking/unlocking with the new import/release paradigm.  Make
   zone_free_item simpler now that callers can manage more stats.
 - Check for these cache-only zones in the public APIs and debugging
   code by checking zone_first_keg() against NULL.

Sponsored by:	EMC / Isilong Storage Division


git-svn-id: svn+ssh://svn.freebsd.org/base/head@251826 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
- add my mentor -> mentee relation with koobs


git-svn-id: svn+ssh://svn.freebsd.org/base/head@251827 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
- add myself


git-svn-id: svn+ssh://svn.freebsd.org/base/head@251828 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add infrastructure for doing compatibility shims, as has been sorely
needed for the last 10 years.  Far too much of the internal API is
exposed, and every small adjustment causes applications to stop working.
To kick this off, bump the API version to 0x17 as should have been done
with r246713, but add shims to compensate.  Thanks to the shims, there
should be no visible change in application behavior.

I have plans to do a significant overhaul of the API to harnen it for
the future, but until then, I welcome others to add shims for older
versions of the API.

Obtained from:	Netflix


git-svn-id: svn+ssh://svn.freebsd.org/base/head@251837 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
The fix committed in r250951 replaced the reported panic with a deadlock... gold
star for me. EVENTHANDLER_DEREGISTER() attempts to acquire the lock which is
held by the event handler framework while executing event handler functions,
leading to deadlock.

Move EVENTHANDLER_DEREGISTER() to alq_load_handler() and thus deregister the ALQ
shutdown_pre_sync handler at module unload time, which takes care of the
originally reported panic and fixes the deadlock introduced in r250951.

Reported by:	Luiz Otavio O Souza
MFC after:	3 days
X-MFC with:	250951


git-svn-id: svn+ssh://svn.freebsd.org/base/head@251838 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
This is an addendum to r251837.
Missed adding the new references to cam_compat.c to the various makefiles.

Obtained from:	Netflix


git-svn-id: svn+ssh://svn.freebsd.org/base/head@251842 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Update dialog to 1.2-20130523
Level up WARNS


git-svn-id: svn+ssh://svn.freebsd.org/base/head@251843 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Include die tag in error message


git-svn-id: svn+ssh://svn.freebsd.org/base/head@251844 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
lower the WARNS to 1 again until I have more time to figure out the problems with WARNS=4

Reported by:	gavin


git-svn-id: svn+ssh://svn.freebsd.org/base/head@251845 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Import change e4ac6417c7504e1c55ec556ce908974c04e29e3c from upstream wpa:

  From: Guy Eilam <guy@wizery.com>
  Date: Mon, 21 Feb 2011 20:44:46 +0000 (+0200)
  Subject: utils: Corrected a typo in header's name definition

  utils: Corrected a typo in header's name definition

  Corrected a typo in the BASE64_H definition that
  might cause the header file to be included more than once.

  Signed-off-by: Guy Eilam <guy@wizery.com>

Submitted by:	<dt71@gmx.com>
MFC after:	3 days


git-svn-id: svn+ssh://svn.freebsd.org/base/head@251848 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Fix bindings of keys when in the partition editor. By adding the usual input binding to the "partlist" sub window.
This is a workaround, as for unknown yet reason the keys binded on the Partition Edition window are the one from partlist instead of the one from standard "formfield"

Reported by:	alfred, nwhitehorn


git-svn-id: svn+ssh://svn.freebsd.org/base/head@251854 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Rename a parameter in sys/time.h so that you don't get warnings for things
like libdialog that include both this header and math.h.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@251855 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add a checker to dtc, based on a feature request from rwatson / brooks.
This checks that every node that has children specifies their register sizes.
This is not enabled by default, as the default sizes are sometimes required
(including by some DTS in the tree), but can help when writing new device
trees so that you can check that you actually meant the defaults.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@251856 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Fold in frame-unwind patch

After moving to svn there's no need to avoid pulling files off a vendor
branch.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@251858 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Return ENETDOWN instead of ENOENT when all lagg(4) links are
inactive when upper layer tries to transmit packet.  This
gives better feedback and meaningful errors for applications.

MFC after:	2 weeks
Reviewed by:	thompsa


git-svn-id: svn+ssh://svn.freebsd.org/base/head@251859 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Clean up -Wheader-guard warnings.

Submitted by:	<dt71@gmx.com>
MFC after:	3 days
X-MFC with:	r251848


git-svn-id: svn+ssh://svn.freebsd.org/base/head@251862 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Fix header guards.

This was ready about the same time as r251862 so just make one final cleanup

Submitted by:	dt71@gmx.com


git-svn-id: svn+ssh://svn.freebsd.org/base/head@251863 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f