sh: Fix LINENO and prompt after $'\0 and newline.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@272482 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Refactor ZFS ARC reclaim checks and limits

Remove previously added kmem methods in favour of defines which
allow diff minimisation between upstream code base.

Rebalance ARC free target to be vm_pageout_wakeup_thresh by default
which eliminates issue where ARC gets minimised instead of balancing
with VM pageout. The restores the target point prior to r270759.

Bring in missing upstream only changes which move unused code to
further eliminate code differences.

Add additional DTRACE probe to aid monitoring of ARC behaviour.

Enable upstream i386 code paths on platforms which don't define
UMA_MD_SMALL_ALLOC.

Fix mixture of byte an page values in arc_memory_throttle i386 code
path value assignment of available_memory.

PR:		187594
Review:		D702
Reviewed by:	avg
MFC after:	1 week
X-MFC-With:	r270759 & r270861
Sponsored by:	Multiplay


git-svn-id: svn+ssh://svn.freebsd.org/base/head@272483 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add dependencies to various libraries to libzfs and libzpool.

Submitted by:	sef


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