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: I8752ced6b639e4c5d13a59e27b2643569d009096 Signed-off-by:Deepak Kumar <dkumar@codeaurora.org> Signed-off-by:
Urvashi Agrawal <urvaagra@codeaurora.org>
Loading
Please register or sign in to comment