freebsd-skq/sys/dev/drm2
jeff bdb3ec248a Make page busy state deterministic on free. Pages must be xbusy when
removed from objects including calls to free.  Pages must not be xbusy
when freed and not on an object.  Strengthen assertions to match these
expectations.  In practice very little code had to change busy handling
to meet these rules but we can now make stronger guarantees to busy
holders and avoid conditionally dropping busy in free.

Refine vm_page_remove() and vm_page_replace() semantics now that we have
stronger guarantees about busy state.  This removes redundant and
potentially problematic code that has proliferated.

Discussed with:	markj
Reviewed by:	kib
Differential Revision:	https://reviews.freebsd.org/D22822
2019-12-22 06:56:44 +00:00
..
ttm Make page busy state deterministic on free. Pages must be xbusy when 2019-12-22 06:56:44 +00:00
drm_agpsupport.c
drm_atomic.h
drm_auth.c
drm_buffer.c
drm_buffer.h
drm_bufs.c
drm_context.c
drm_core.h
drm_crtc_helper.c
drm_crtc_helper.h
drm_crtc.c
drm_crtc.h
drm_dma.c
drm_dp_helper.c
drm_dp_helper.h
drm_dp_iic_helper.c
drm_drv.c
drm_edid_modes.h
drm_edid.c
drm_edid.h
drm_fb_helper.c
drm_fb_helper.h
drm_fixed.h
drm_fops.c
drm_fourcc.h
drm_gem_names.c
drm_gem_names.h
drm_gem.c
drm_global.c
drm_global.h
drm_hashtab.c
drm_hashtab.h
drm_ioc32.c
drm_ioctl.c
drm_irq.c
drm_linux_list_sort.c
drm_linux_list.h
drm_lock.c
drm_mem_util.h
drm_memory.c
drm_mm.c
drm_mm.h
drm_mode.h
drm_modes.c
drm_os_freebsd.c
drm_os_freebsd.h Add updating entry for DRM 2018-10-20 19:14:46 +00:00
drm_pci.c
drm_pciids.h
drm_platform.c
drm_sarea.h
drm_scatter.c
drm_stub.c
drm_sysctl.c
drm_vm.c
drm.h
drmP.h Avoid relying on header pollution from sys/refcount.h. 2019-07-29 20:26:01 +00:00