Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit eed663a4 authored by Jordan Crouse's avatar Jordan Crouse Committed by Dumpeti Sathish Kumar
Browse files

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: default avatarJordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: default avatarDumpeti Sathish Kumar <sathyanov14@codeaurora.org>
parent 04947ea3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment