aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJosh Poimboeuf <[email protected]>2024-04-10 22:40:46 -0700
committerIngo Molnar <[email protected]>2024-04-11 10:30:33 +0200
commitcb2db5bb04d7f778fbc1a1ea2507aab436f1bff3 (patch)
treec5bb43333f8292d9e7be5e2db8158e33e143be21 /tools/perf/scripts/python/export-to-postgresql.py
parentdfe648903f42296866d79f10d03f8c85c9dfba30 (diff)
x86/bugs: Cache the value of MSR_IA32_ARCH_CAPABILITIES
There's no need to keep reading MSR_IA32_ARCH_CAPABILITIES over and over. It's even read in the BHI sysfs function which is a big no-no. Just read it once and cache it. Fixes: ec9404e40e8f ("x86/bhi: Add BHI mitigation knob") Signed-off-by: Josh Poimboeuf <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Reviewed-by: Nikolay Borisov <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Sean Christopherson <[email protected]> Link: https://lore.kernel.org/r/9592a18a814368e75f8f4b9d74d3883aa4fd1eaf.1712813475.git.jpoimboe@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions