aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/parallel-perf.py
diff options
context:
space:
mode:
authorQiuxu Zhuo <[email protected]>2024-10-25 10:45:53 +0800
committerBorislav Petkov (AMD) <[email protected]>2024-10-28 14:07:47 +0100
commit325c3376afad838eec8b9342e9e5eef270c5b184 (patch)
tree72ac2e07736ea1081d070b2f00d517a6c1e7d534 /tools/perf/scripts/python/parallel-perf.py
parent81983758430957d9a5cb3333fe324fd70cf63e7e (diff)
x86/mce/mcelog: Use xchg() to get and clear the flags
Using xchg() to atomically get and clear the MCE log buffer flags, streamlines the code and reduces the text size by 20 bytes. $ size dev-mcelog.o.* text data bss dec hex filename 3013 360 160 3533 dcd dev-mcelog.o.old 2993 360 160 3513 db9 dev-mcelog.o.new No functional changes intended. Signed-off-by: Qiuxu Zhuo <[email protected]> Signed-off-by: Borislav Petkov (AMD) <[email protected]> Reviewed-by: Tony Luck <[email protected]> Reviewed-by: Nikolay Borisov <[email protected]> Reviewed-by: Sohil Mehta <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions