Re: [PATCH v2] drm: Release filp before global lock

2020-01-24 Thread VMware
On 1/23/20 11:21 PM, Chris Wilson wrote: The file is not part of the global drm resource and can be released prior to take the global mutex to drop the open_count (and potentially close) the drm device. As the global mutex is indeed global, not only within the device but across devices, a slow fi

[PATCH v2] drm: Release filp before global lock

2020-01-23 Thread Chris Wilson
The file is not part of the global drm resource and can be released prior to take the global mutex to drop the open_count (and potentially close) the drm device. As the global mutex is indeed global, not only within the device but across devices, a slow file release mechanism can bottleneck the ent