freebsd-nq/sys/dev/drm2/ttm
Mark Johnston 02fb845bbf Fix a few uses of kern_yield() in the TTM and the LinuxKPI.
kern_yield(0) effectively causes the calling thread to be rescheduled
immediately since it resets the thread's priority to the highest possible
value. This can cause livelocks when the pattern
"while (!trylock()) kern_yield(0);" is used since the thread holding the
lock may linger on the runqueue for the CPU on which the looping thread is
running.

MFC after:	1 week
2017-05-18 18:35:14 +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 Fix a few uses of kern_yield() in the TTM and the LinuxKPI. 2017-05-18 18:35:14 +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
ttm_page_alloc.h
ttm_placement.h
ttm_tt.c