In the uart module build ofw_bus_if.h on arm along with sparc64 as LINT
fails when built locally without it.


git-svn-id: svn://svn.freebsd.org/base/head@248411 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Move example to EXAMPLES.


git-svn-id: svn://svn.freebsd.org/base/head@248412 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Move example to EXAMPLES.


git-svn-id: svn://svn.freebsd.org/base/head@248413 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Remove EOL whitespace accidentally introduced in r248393.


git-svn-id: svn://svn.freebsd.org/base/head@248414 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Fix a typo in a comment.


git-svn-id: svn://svn.freebsd.org/base/head@248415 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
In m_megapullup() instead of reserving some space at the end of packet,
m_align() it, reserving space to prepend data.

Reviewed by:	mav


git-svn-id: svn://svn.freebsd.org/base/head@248416 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add MEXT_ALIGN() macro, similar to M_ALIGN() and MH_ALIGN(), but for
mbufs with external buffer.


git-svn-id: svn://svn.freebsd.org/base/head@248417 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
In m_align() add assertions that mbuf is virgin, similar to assertions
in M_ALIGN(), MH_ALIGN, MEXT_ALIGN() macros.


git-svn-id: svn://svn.freebsd.org/base/head@248418 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Remove negative name cache entry pointing to the target name, which
could be instantiated while tdvp was unlocked.

Reported by:	Rick Miller <vmiller at hostileadmin com>
Tested by:	pho
MFC after:	1 week


git-svn-id: svn://svn.freebsd.org/base/head@248422 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Fix typo in sysctl description

Reported by:	Jeremy Chadwick
MFC after:	3 days


git-svn-id: svn://svn.freebsd.org/base/head@248426 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Eliminate an intermediate buffer and some memcpy() operations, and do
DMA directly to/from the buffers passed in from higher layer drivers.

Reviewed by:	gonzo


git-svn-id: svn://svn.freebsd.org/base/head@248430 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
find: Include nanoseconds when comparing timestamps of files.

When comparing to the timestamp of a given file using -newer, -Xnewer and
-newerXY (where X and Y are one of m, c, a, B), include nanoseconds in the
comparison.

The primaries that compare a timestamp of a file to a given value (-Xmin,
-Xtime, -newerXt) continue to compare times in whole seconds.

Note that the default value 0 of vfs.timestamp_precision almost always
causes the nanoseconds part to be 0. However, touch -d can set a timestamp
to the microsecond regardless of that sysctl.

MFC after:	1 week


git-svn-id: svn://svn.freebsd.org/base/head@248446 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Sync back vmcontention branch into HEAD:
Replace the per-object resident and cached pages splay tree with a
path-compressed multi-digit radix trie.
Along with this, switch also the x86-specific handling of idle page
tables to using the radix trie.

This change is supposed to do the following:
- Allowing the acquisition of read locking for lookup operations of the
  resident/cached pages collections as the per-vm_page_t splay iterators
  are now removed.
- Increase the scalability of the operations on the page collections.

The radix trie does rely on the consumers locking to ensure atomicity of
its operations.  In order to avoid deadlocks the bisection nodes are
pre-allocated in the UMA zone.  This can be done safely because the
algorithm needs at maximum one new node per insert which means the
maximum number of the desired nodes is the number of available physical
frames themselves.  However, not all the times a new bisection node is
really needed.

The radix trie implements path-compression because UFS indirect blocks
can lead to several objects with a very sparse trie, increasing the number
of levels to usually scan.  It also helps in the nodes pre-fetching by
introducing the single node per-insert property.

This code is not generalized (yet) because of the possible loss of
performance by having much of the sizes in play configurable.
However, efforts to make this code more general and then reusable in
further different consumers might be really done.

The only KPI change is the removal of the function vm_page_splay() which
is now reaped.
The only KBI change, instead, is the removal of the left/right iterators
from struct vm_page, which are now reaped.

Further technical notes broken into mealpieces can be retrieved from the
svn branch:
http://svn.freebsd.org/base/user/attilio/vmcontention/

Sponsored by:	EMC / Isilon storage division
In collaboration with:	alc, jeff
Tested by:	flo, pho, jhb, davide
Tested by:	ian (arm)
Tested by:	andreast (powerpc)


git-svn-id: svn://svn.freebsd.org/base/head@248449 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Log some more information when the RX buffer allocation failed.


git-svn-id: svn://svn.freebsd.org/base/head@248450 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Dump out information about the RX descriptor free list and FIFO information.


git-svn-id: svn://svn.freebsd.org/base/head@248451 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add restrict keyword to realpath manpage.


git-svn-id: svn://svn.freebsd.org/base/head@248453 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Print out the current fifo queue depth correctly - not just the max
queue depth.

Silly hat to me.


git-svn-id: svn://svn.freebsd.org/base/head@248455 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Merge remote-tracking branch 'upstream/master'