public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* Async page fault delivered while irq are disabled?
@ 2019-12-19 15:28 Frederic Weisbecker
  2019-12-19 15:57 ` Sean Christopherson
  0 siblings, 1 reply; 8+ messages in thread
From: Frederic Weisbecker @ 2019-12-19 15:28 UTC (permalink / raw)
  To: Paolo Bonzini, Radim Krčmář
  Cc: Sean Christopherson, Vitaly Kuznetsov, Wanpeng Li, Jim Mattson,
	Joerg Roedel, kvm

Hi,

While checking the x86 async page fault code, I can't
find anything that prevents KVM_PV_REASON_PAGE_READY to be injected
while the guest has interrupts disabled. If that page fault happens
to trap in an interrupt disabled section, there may be a deadlock due to the
call to wake_up_process() which locks the rq->lock (among others).

Given how long that code is there, I guess such an issue would
have been reported for a while already. But I just would like to
be sure we are checking that.

Can someone enlighten me?

Thanks.

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

end of thread, other threads:[~2019-12-26 17:28 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-19 15:28 Async page fault delivered while irq are disabled? Frederic Weisbecker
2019-12-19 15:57 ` Sean Christopherson
2019-12-19 16:15   ` Frederic Weisbecker
2019-12-19 19:00     ` Sean Christopherson
2019-12-20  9:34       ` Paolo Bonzini
2019-12-23  2:17         ` Frederic Weisbecker
2019-12-23  8:38           ` Paolo Bonzini
2019-12-26 17:28             ` Frederic Weisbecker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox