Module Name: src Committed By: riastradh Date: Mon Aug 27 14:50:04 UTC 2018
Modified Files: src/sys/external/bsd/drm2/dist/drm/i915: i915_cmd_parser.c i915_gem.c i915_gem_render_state.c Log Message: Handle uvm object reference counts in uvm_map more carefully. Acquire a reference unconditionally first; then let uvm_map consume it on success, and release it ourselves on failure. As we did before -- acquiring a fresh reference on success -- another thread might release the reference with a concurrent uvm_unmap before we could acquire it back, thereby destroying the object. XXX pullup-7 in part (i915_gem_fault) XXX pullup-8 in part (i915_gem_fault) To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 \ src/sys/external/bsd/drm2/dist/drm/i915/i915_cmd_parser.c cvs rdiff -u -r1.52 -r1.53 src/sys/external/bsd/drm2/dist/drm/i915/i915_gem.c cvs rdiff -u -r1.8 -r1.9 \ src/sys/external/bsd/drm2/dist/drm/i915/i915_gem_render_state.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.