commit | e0d19f9db3f300651d55f546c9a1d69dde9ed45f | [log] [tgz] |
---|---|---|
author | Deepak Kumar <dkumar@codeaurora.org> | Mon Mar 05 16:51:25 2018 +0530 |
committer | Deepak Kumar <dkumar@codeaurora.org> | Tue Mar 06 14:43:56 2018 +0530 |
tree | fb75ed37845767983c29f4f4a6adb129cd9a1979 | |
parent | a5370b864407a3dfdefff3396ad3372c0dabe3bb [diff] |
msm: kgsl: Correctly limit max number of contexts per process Read and increment context count atomic variable under a lock to avoid race condition between read and increment. This is necessary to make sure no process goes beyond the specified context limit. Change-Id: I483e2ac169beaff49e19b8ef1b46541f6eb740b0 Signed-off-by: Deepak Kumar <dkumar@codeaurora.org>