freebsd-nq/sys/dev/drm2/ttm
Konstantin Belousov c325e866f4 Different consumers of the struct vm_page abuse pageq member to keep
additional information, when the page is guaranteed to not belong to a
paging queue.  Usually, this results in a lot of type casts which make
reasoning about the code correctness harder.

Sometimes m->object is used instead of pageq, which could cause real
and confusing bugs if non-NULL m->object is leaked.  See r141955 and
r253140 for examples.

Change the pageq member into a union containing explicitly-typed
members.  Use them instead of type-punning or abusing m->object in x86
pmaps, uma and vm_page_alloc_contig().

Requested and reviewed by:	alc
Sponsored by:	The FreeBSD Foundation
2013-08-10 17:36:42 +00:00
..
ttm_agp_backend.c
ttm_bo_api.h
ttm_bo_driver.h
ttm_bo_manager.c
ttm_bo_util.c Replace kernel virtual address space allocation with vmem. This provides 2013-08-07 06:21:20 +00:00
ttm_bo_vm.c On all the architectures, avoid to preallocate the physical memory 2013-08-09 11:28:55 +00:00
ttm_bo.c drm: Fix a call to free(9) with an incorrect malloc type 2013-03-08 18:11:02 +00:00
ttm_execbuf_util.c
ttm_execbuf_util.h
ttm_lock.c
ttm_lock.h
ttm_memory.c drm/ttm: Fix a typo: s/pTTM]/[TTM]/ 2013-03-23 20:46:47 +00:00
ttm_memory.h
ttm_module.h
ttm_object.c
ttm_object.h
ttm_page_alloc_dma.c
ttm_page_alloc.c Different consumers of the struct vm_page abuse pageq member to keep 2013-08-10 17:36:42 +00:00
ttm_page_alloc.h
ttm_placement.h
ttm_tt.c The soft and hard busy mechanism rely on the vm object lock to work. 2013-08-09 11:11:11 +00:00