kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH kvm-unit-tests 0/2] arm/arm64: smp: on_cpu improvements
@ 2017-06-02 15:12 Andrew Jones
  2017-06-02 15:12 ` [PATCH kvm-unit-tests 1/2] arm/arm64: smp: cpu0 is special Andrew Jones
  2017-06-02 15:12 ` [PATCH kvm-unit-tests 2/2] arm/arm64: smp: add deadlock detection Andrew Jones
  0 siblings, 2 replies; 4+ messages in thread
From: Andrew Jones @ 2017-06-02 15:12 UTC (permalink / raw)
  To: kvm; +Cc: pbonzini, rkrcmar

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.

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     | 47 +++++++++++++++++++++++++++++++++++++----------
 2 files changed, 39 insertions(+), 10 deletions(-)

-- 
2.9.4

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-06-02 15:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-02 15:12 [PATCH kvm-unit-tests 0/2] arm/arm64: smp: on_cpu improvements Andrew Jones
2017-06-02 15:12 ` [PATCH kvm-unit-tests 1/2] arm/arm64: smp: cpu0 is special Andrew Jones
2017-06-02 15:12 ` [PATCH kvm-unit-tests 2/2] arm/arm64: smp: add deadlock detection Andrew Jones
2017-06-02 15:26   ` Andrew Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).