CVSROOT:        /cvs
Module name:    src
Changes by:     j...@cvs.openbsd.org    2022/01/23 15:53:03

Modified files:
        sys/dev/pci/drm/i915/gem: i915_gem_mman.c 

Log message:
move uao_reference() call before uvm_map()

other uses in the kernel do this as uvm_map() may sleep and the segment
may be deallocated while sleeping without a reference

kettenis notes that shouldn't happen here due to a obj reference from an
earlier i915_gem_object_lookup() call

ok visa@ kettenis@

Reply via email to