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

Commit 32814680 authored by Deepak Kumar's avatar Deepak Kumar
Browse files

msm: kgsl: Prevent race condition when freeing memory



Add a check to set the pending_free flag if it is not already
set before freeing sparse memory entry. This is required to
prevent multiple ioctl threads from freeing the same sparse
memory entry.

Change-Id: I4e2bbe6fcd98c58d36340c4f87cdff27fc1de22e
Signed-off-by: default avatarDeepak Kumar <dkumar@codeaurora.org>
parent a8bac554
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