freebsd / drm-kmod

drm driver for FreeBSD
148 stars 68 forks source link

dma-buf: Call rcu_read_unlock() before locking `cursor->obj->rw` #237

Closed dumbbell closed 1 year ago

dumbbell commented 1 year ago

The function is called in between rcu_read_lock()/rcu_read_unlock(). Dropping this lock to wait for the writer thread to finish on FreeBSD was lost in the code refactoring.