Re: [PATCH] drm: Add the mutex protection in drm_do_vm_fault.

2013-11-05 Thread Dave Airlie
On Sat, Oct 12, 2013 at 1:47 AM, Jun Chen wrote: > > There are no mutex protection for the dev->map_hash while calling > the drm_ht_find_item in the function drm_do_vm_fault. So try to > mutex firstly and then find the list for using to avoid this race > condition. Can I ask how or why you found

[PATCH] drm: Add the mutex protection in drm_do_vm_fault.

2013-10-11 Thread Jun Chen
There are no mutex protection for the dev->map_hash while calling the drm_ht_find_item in the function drm_do_vm_fault. So try to mutex firstly and then find the list for using to avoid this race condition. Signed-off-by: Chen Jun --- drivers/gpu/drm/drm_vm.c | 11 +-- 1 files changed