x86: Cleanup max test CPUs
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | x86: Fix out of bounds access when processing online_cpuslib/ | +2 | 0 replies | |
| 2/3 | x86: Declare online_cpus based on MAX_TEST_CPUSlib/ x86/ x86/ | +2 | 0 replies | |
| 3/3 | x86: Bump max number of test CPUs to 255lib/ | +1 | 1 reply |
Reviews trailers per patch
None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Peter Xu |
|---|---|
| Series | R-b |
| 1/3 | |
| 2/3 | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [kvm-unit-tests PATCH 0/3] x86: Cleanup max test CPUs
Fix a bug Evgeny reported where init_apic_map() can cause random corruption due accessing random bytes far beyond the bounds of online_cpus. Take the opportunity to bump the max number of test CPUs to a realistic maximum, i.e. what kvm-unit-tests can support without a major rework.
Sean Christopherson (3):
x86: Fix out of bounds access when processing online_cpus
x86: Declare online_cpus based on MAX_TEST_CPUS
x86: Bump max number of test CPUs to 255
lib/x86/apic-defs.h | 2 +- lib/x86/apic.c | 4 ++-- lib/x86/smp.c | 2 -- x86/cstart.S | 2 +- x86/cstart64.S | 2 +- 5 files changed, 5 insertions(+), 7 deletions(-)
Signature · 1 line
2.22.0