summaryrefslogtreecommitdiff
path: root/lib/mpi/mpicoder.c
diff options
context:
space:
mode:
authorJordan Crouse <jcrouse@codeaurora.org>2016-05-31 11:24:22 -0600
committerDumpeti Sathish Kumar <sathyanov14@codeaurora.org>2016-11-29 12:32:52 +0530
commiteed663a48bec729bb66aaad18ab3fac3b7269581 (patch)
treeb62d33819462fe22ab8bb5fbfe414ddfc100709d /lib/mpi/mpicoder.c
parent04947ea3d87d476354f8dad45a668e4137196efa (diff)
msm: kgsl: Reserve a context ID slot but don't populate immediately
When creating a context allocate an ID but don't populate the slot with the context pointer until we are done setup up the rest of the process. This avoids a race if somebody tries to free the same identifier before the create operation is complete. Change-Id: Ic0dedbadca5b4cc4ce567afad48a33078b549439 Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org> Signed-off-by: Dumpeti Sathish Kumar <sathyanov14@codeaurora.org>
Diffstat (limited to 'lib/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions