summaryrefslogtreecommitdiff
path: root/lib/ucs2_string.c
diff options
context:
space:
mode:
authorDeepak Kumar <dkumar@codeaurora.org>2018-02-16 11:46:26 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2018-02-21 21:27:29 -0800
commitc4e16abf94bc5c7c0c6aba8a32c5ceab6369f2fe (patch)
tree5ec316fb1e1c2186032e1131ac0fc2a8f14e150b /lib/ucs2_string.c
parent3f33435ef15fa7d065d7de941fda1167e00a4b6d (diff)
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: Deepak Kumar <dkumar@codeaurora.org>
Diffstat (limited to 'lib/ucs2_string.c')
0 files changed, 0 insertions, 0 deletions