Skip to content

x86/MCE: reduce redundant code

Jan Beulich xen-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2x86/MCE: reduce number of MSR reads/lookupsxen/arch/x86/cpu/mcheck/mce.c+15 -190 replies
2/2x86/MCE: drop redundant code from mcheck_mca_logout()xen/arch/x86/cpu/mcheck/mce.c+7 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] x86/MCE: reduce redundant code

Following the (so far not really explicable) observation in [1], plus the fact that mca_rdmsr() isn't simply an RDMSR, patch 1 looked like something we may want to have. While putting that together, another inefficiency popped up, which patch 2 covers.

1: reduce number of MSR reads/lookups
2: drop redundant code from mcheck_mca_logout()

Jan

[1] https://lists.xen.org/archives/html/xen-devel/2026-10/msg01825.html