commit | aabbe344dc3ca5f7d8263a02608ba6179e8a4499 | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Fri Aug 30 19:03:25 2019 +0100 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Fri Aug 30 21:17:48 2019 +0100 |
tree | 0396b9f520b02c76456bb3220140515e7c9650ca | |
parent | c1d143dd2ac8d481500fec4c0d715ff301d2766f [diff] |
drm/i915: Use RCU for unlocked vm_idr lookup Since i915_address_space is now RCU protected, we can do the vm_idr lookup without taking the vm_idr_mutex, just with the rcu_read_lock() instead. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Matthew Auld <matthew.auld@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190830180325.7755-1-chris@chris-wilson.co.uk