Add a comment to previos commit.

main
Thomas Hellstrom 2006-10-02 13:37:54 +02:00
parent c6be27401f
commit 418b81c65c
1 changed files with 7 additions and 0 deletions

View File

@ -433,6 +433,13 @@ int drm_release(struct inode *inode, struct file *filp)
drm_lock_free(dev, &dev->lock.hw_lock->lock,
_DRM_LOCKING_CONTEXT(dev->lock.hw_lock->lock));
} else {
/*
* FIXME: This is not a good solution. We should perhaps associate the
* DRM lock with a process context, and check whether the current process
* holds the lock. Then we can run reclaim buffers locked anyway.
*/
DRM_ERROR("Reclaim buffers locked deadlock.\n");
DRM_ERROR("This is probably a single thread having multiple\n");
DRM_ERROR("DRM file descriptors open either dying or "