diff options
author | Xiyu Yang <[email protected]> | 2021-07-20 11:05:11 -0400 |
---|---|---|
committer | Herbert Xu <[email protected]> | 2021-07-30 10:58:36 +0800 |
commit | d5ee8e750c9449e9849a09ce6fb6b8adeaa66adc (patch) | |
tree | 6df905f46fef4e34073c1dc2c6ac9407de3ded3a /tools/perf/scripts/python/stackcollapse.py | |
parent | 192b722f3866d3fb45b9e6a6ecd02ff09f2aefbe (diff) |
padata: Convert from atomic_t to refcount_t on parallel_data->refcnt
refcount_t type and corresponding API can protect refcounters from
accidental underflow and overflow and further use-after-free situations.
Signed-off-by: Xiyu Yang <[email protected]>
Signed-off-by: Xin Tan <[email protected]>
Acked-by: Daniel Jordan <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions