freebsd-dev/sys/mips
Konstantin Belousov 2c0f13aa59 vm_wait() rework.
Make vm_wait() take the vm_object argument which specifies the domain
set to wait for the min condition pass.  If there is no object
associated with the wait, use curthread' policy domainset.  The
mechanics of the wait in vm_wait() and vm_wait_domain() is supplied by
the new helper vm_wait_doms(), which directly takes the bitmask of the
domains to wait for passing min condition.

Eliminate pagedaemon_wait().  vm_domain_clear() handles the same
operations.

Eliminate VM_WAIT and VM_WAITPFAULT macros, the direct functions calls
are enough.

Eliminate several control state variables from vm_domain, unneeded
after the vm_wait() conversion.

Scetched and reviewed by:	jeff
Tested by:	pho
Sponsored by:	The FreeBSD Foundation, Mellanox Technologies
Differential revision:	https://reviews.freebsd.org/D14384
2018-02-20 10:13:13 +00:00
..
atheros sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
beri sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
broadcom bhnd(4): Include board_devid in the bhnd_board_info structure, and populate 2017-12-14 01:58:05 +00:00
cavium sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
conf [ar71xx] Fix the TL-wdr3600/tl-wdr4300 hints in the new world order. 2018-02-07 09:35:47 +00:00
gxemul sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
include Move __va_list and related defines to sys/sys/_types.h 2018-02-12 14:48:20 +00:00
ingenic Use the TSLOG framework to record entry/exit timestamps for DELAY and 2017-12-31 09:24:41 +00:00
malta sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
mediatek [mips] Pin control configuration for MediaTek RT2880 2017-10-31 11:29:16 +00:00
mips vm_wait() rework. 2018-02-20 10:13:13 +00:00
nlm Revert r327828, r327949, r327953, r328016-r328026, r328041: 2018-01-21 15:42:36 +00:00
sibyte sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00