summaryrefslogtreecommitdiff
path: root/tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorRong Zhang <i@rong.moe>2025-12-16 02:11:51 +0800
committerBorislav Petkov (AMD) <bp@alien8.de>2026-01-04 14:26:02 +0100
commit6823f10dcc84f35ca652eff0448f7da3d3b26548 (patch)
tree62a1b430339cdcde7cb0b878f8b528e90f2157b0 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
parentf8f9c1f4d0c7a64600e2ca312dec824a0bc2f1da (diff)
x86/split_lock: Remove dead string when split_lock_detect=fatal
sld_state_show() has a dead str1 below: if (A) { ... } else if (B) { pr_info(... A ? str1 : str2 ...); } where A is always false in the second block, implied by the "if (A) else" pattern. Hence, str2 is always used. This seems to be some mysterious legacy inherited from the earlier patch revisions of ebb1064e7c2e ("x86/traps: Handle #DB for bus lock"). Earlier revisions¹ did enable both sld and bld at the same time to detect non-WB bus_locks when split_lock_detect=fatal, but that's no longer true in the merged revision. Remove it and translate the pr_info() into its equivalent form. ¹ https://lore.kernel.org/r/20201121023624.3604415-3-fenghua.yu@intel.com [ bp: Massage commit message; simplify braces ] Signed-off-by: Rong Zhang <i@rong.moe> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Link: https://patch.msgid.link/20251215182907.152881-1-i@rong.moe
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions