arm/arm64: smp: on_cpu improvements
Status from this message: Applied, thanks.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 2 repliesApplied
- v12 patches 1 replySuperseded
Changes in v2 from the cover letter
- fix race in cpu_wait() by ordering set/check correctly
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | arm/arm64: smp: cpu0 is speciallib/ lib/ | +13 | 0 replies | |
| 2/2 | arm/arm64: smp: add deadlock detectionlib/ | +25 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH kvm-unit-tests v2 0/2] arm/arm64: smp: on_cpu improvements
After posting on_cpu() support yesterday I thought of some potential issues.
1) cpu0 was the only cpu allowed to call on_cpus, and no cpu was allowed to call on_cpu on cpu0 (as it'll never idle).
2) deadlocks are easy with this idle state scheduling model, but also easy to detect, so we should.
v2:
- fix race in cpu_wait() by ordering set/check correctly
Andrew Jones (2):
arm/arm64: smp: cpu0 is special
arm/arm64: smp: add deadlock detection
lib/arm/asm/smp.h | 2 ++ lib/arm/smp.c | 46 ++++++++++++++++++++++++++++++++++++---------- 2 files changed, 38 insertions(+), 10 deletions(-)
Signature · 1 line
2.9.4