summaryrefslogtreecommitdiff
path: root/drivers/ata/libata-acpi.c
diff options
context:
space:
mode:
authorRajesh Kemisetti <rajeshk@codeaurora.org>2016-03-08 14:12:37 +0530
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-25 16:03:36 -0700
commit6eea801d0bf14513eabd9f6c7fbb2bea046774a5 (patch)
tree54f7912858bd5dc5c02027ced6a88481657a2228 /drivers/ata/libata-acpi.c
parent2e21911abee5189cb1ccb2bb8bd9d093e6cc3c3d (diff)
msm: kgsl: Fix race condition during mem_entry detach
kgsl_mem_entry_detach_process() makes gpuaddr to NULL and then removes the entry from mem_idr list. Sometimes this can cause kgsl_sharedmem_find() to return the same entry for a different gpuaddr/thread if it satisfies GPUADDR_IN_MEMDESC(). To avoid this, first remove the entry from mem_idr list and proceed with unmap/untrack calls. Change-Id: Ib9f2bc0fdaecd394735dd61b18fdc7de57aa3748 Signed-off-by: Rajesh Kemisetti <rajeshk@codeaurora.org>
Diffstat (limited to 'drivers/ata/libata-acpi.c')
0 files changed, 0 insertions, 0 deletions