freebsd-dev/sys/dev/drm2/ttm
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
..
ttm_agp_backend.c
ttm_bo_api.h
ttm_bo_driver.h
ttm_bo_manager.c
ttm_bo_util.c Allow DRM2 code to be built on platforms without AGP. 2016-11-13 13:31:23 +00:00
ttm_bo_vm.c vm_wait() rework. 2018-02-20 10:13:13 +00:00
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 sys/dev: minor spelling fixes. 2016-05-03 03:41:25 +00:00
ttm_page_alloc.c vm_wait() rework. 2018-02-20 10:13:13 +00:00
ttm_page_alloc.h
ttm_placement.h
ttm_tt.c