freebsd-skq/sys/dev/drm2/ttm
kib ee3d0fb8ef 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
..
ttm_agp_backend.c
ttm_bo_api.h
ttm_bo_driver.h
ttm_bo_manager.c
ttm_bo_util.c
ttm_bo_vm.c
ttm_bo.c
ttm_execbuf_util.c
ttm_execbuf_util.h
ttm_lock.c
ttm_lock.h
ttm_memory.c
ttm_memory.h
ttm_module.h
ttm_object.c
ttm_object.h
ttm_page_alloc_dma.c
ttm_page_alloc.c
ttm_page_alloc.h
ttm_placement.h
ttm_tt.c