diff options
| author | Archana Sriram <apsrir@codeaurora.org> | 2020-10-18 23:34:04 +0530 |
|---|---|---|
| committer | Kamal Agrawal <kamaagra@codeaurora.org> | 2020-11-10 08:22:19 +0530 |
| commit | 703cccfc832e2c42abdfb3eb03e7645059f0b7c2 (patch) | |
| tree | 207fd0847e05dfb40365a86957a7b8e2b47edb8f /drivers/mtd/lpddr/lpddr_cmds.c | |
| parent | b81c4ac933f0bcbfa2bad5886c4013f8da52c86a (diff) | |
msm: kgsl: Compare pid pointer instead of TGID for a new process
There is a possibility of sharing process_private between two unrelated
processes due to PID wrapping. In kgsl_process_private_new(), instead
of checking numeric TGID, compare the unique pid pointer of the current
process with that of the existing processes in kgsl process list to
allow sharing of process_private data judiciously. Also, in all required
functions get TGID/PID of a process from its struct pid.
Change-Id: I0e3d5d79275cdb3f3c304fb36322ad56b0d0b227
Signed-off-by: Archana Sriram <apsrir@codeaurora.org>
Signed-off-by: Kamal Agrawal <kamaagra@codeaurora.org>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions
