aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHaren Myneni <[email protected]>2021-06-17 13:29:05 -0700
committerMichael Ellerman <[email protected]>2021-06-20 21:58:55 +1000
commit91cdbb955aa94ee0841af4685be40937345d29b8 (patch)
tree3d179fcea2319675b8d63ea566a60d4a1ff75058 /tools/perf/scripts/python
parent3c53642324f526c0aba411bf8e6cf2ab2471192a (diff)
powerpc/powernv/vas: Release reference to tgid during window close
The kernel handles the NX fault by updating CSB or sending signal to process. In multithread applications, children can open VAS windows and can exit without closing them. But the parent can continue to send NX requests with these windows. To prevent pid reuse, reference will be taken on pid and tgid when the window is opened and release them during window close. The current code is not releasing the tgid reference which can cause pid leak and this patch fixes the issue. Fixes: db1c08a740635 ("powerpc/vas: Take reference to PID and mm for user space windows") Cc: [email protected] # 5.8+ Reported-by: Nicholas Piggin <[email protected]> Signed-off-by: Haren Myneni <[email protected]> Reviewed-by: Nicholas Piggin <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions