opnsense-src/sys/dev/drm2/ttm
Gleb Smirnoff b0cd20172d A change to KPI of vm_pager_get_pages() and underlying VOP_GETPAGES().
o With new KPI consumers can request contiguous ranges of pages, and
  unlike before, all pages will be kept busied on return, like it was
  done before with the 'reqpage' only. Now the reqpage goes away. With
  new interface it is easier to implement code protected from race
  conditions.

  Such arrayed requests for now should be preceeded by a call to
  vm_pager_haspage() to make sure that request is possible. This
  could be improved later, making vm_pager_haspage() obsolete.

  Strenghtening the promises on the business of the array of pages
  allows us to remove such hacks as swp_pager_free_nrpage() and
  vm_pager_free_nonreq().

o New KPI accepts two integer pointers that may optionally point at
  values for read ahead and read behind, that a pager may do, if it
  can. These pages are completely owned by pager, and not controlled
  by the caller.

  This shifts the UFS-specific readahead logic from vm_fault.c, which
  should be file system agnostic, into vnode_pager.c. It also removes
  one VOP_BMAP() request per hard fault.

Discussed with:	kib, alc, jeff, scottl
Sponsored by:	Nginx, Inc.
Sponsored by:	Netflix
2015-12-16 21:30:45 +00:00
..
ttm_agp_backend.c Port the TTM AGP backend to the FreeBSD agp driver and enable AGP support 2014-10-30 14:26:36 +00:00
ttm_bo.c drm/ttm: Drain taskqueue if taskqueue_cancel_timeout() returned an error 2015-09-08 19:41:19 +00:00
ttm_bo_api.h
ttm_bo_driver.h Port the TTM AGP backend to the FreeBSD agp driver and enable AGP support 2014-10-30 14:26:36 +00:00
ttm_bo_manager.c
ttm_bo_util.c drm: Update the device-independent code to match Linux 3.8.13 2015-03-17 18:50:33 +00:00
ttm_bo_vm.c drm: Update the device-independent code to match Linux 3.8.13 2015-03-17 18:50:33 +00:00
ttm_execbuf_util.c drm/ttm: Import Linux commit f2d476a110bc24fde008698ae9018c99e803e25c 2013-08-25 14:52:20 +00:00
ttm_execbuf_util.h
ttm_lock.c drm: Update the device-independent code to match Linux 3.8.13 2015-03-17 18:50:33 +00:00
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.c ttm_vm_page_alloc: use vm_page_alloc for pages without dma32 restriction 2015-06-15 13:43:23 +00:00
ttm_page_alloc.h
ttm_page_alloc_dma.c
ttm_placement.h
ttm_tt.c A change to KPI of vm_pager_get_pages() and underlying VOP_GETPAGES(). 2015-12-16 21:30:45 +00:00