diff options
| author | Archana Sriram <apsrir@codeaurora.org> | 2020-10-18 23:34:04 +0530 |
|---|---|---|
| committer | Tiwari, Shubham <shubtiwa@codeaurora.org> | 2021-03-15 22:38:41 -0700 |
| commit | 4150552fac96e162e1c8607a94b2ad30b45d3620 (patch) | |
| tree | 4f56807ecf14ef9d80f7818be935d5129cb583bd /kernel/locking/rtmutex-debug.c | |
| parent | 854ef3ce73f55f3ce1a193322796f155cb40717b (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 'kernel/locking/rtmutex-debug.c')
0 files changed, 0 insertions, 0 deletions
