aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorElena Reshetova <[email protected]>2017-05-19 11:39:13 +0200
committerThomas Gleixner <[email protected]>2017-05-21 21:55:13 +0200
commit473e90b2e8356f084dcf9c815a5170d4d4925897 (patch)
tree59e060264aa0a1d6c3cc32a04dba8170bdceca56 /tools/perf/scripts/python/export-to-sqlite.py
parent5f0744e50db1628d6de770b92278445b3de2779f (diff)
x86/mce: Convert threshold_bank.cpus from atomic_t to refcount_t
The refcount_t type and corresponding API should be used instead of atomic_t when the variable is used as a reference counter. This allows to avoid accidental refcounter overflows that might lead to use-after-free situations. Suggested-by: Kees Cook <[email protected]> Signed-off-by: Elena Reshetova <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Reviewed-by: Hans Liljestrand <[email protected]> Reviewed-by: David Windsor <[email protected]> Cc: Tony Luck <[email protected]> Cc: Yazen Ghannam <[email protected]> Cc: linux-edac <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions