|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: Recent upgrade of 4.13 -> 4.14 issue
On 26.10.20 17:31, Dario Faggioli wrote: On Mon, 2020-10-26 at 15:30 +0100, Jürgen Groß wrote:On 26.10.20 14:54, Andrew Cooper wrote:On 26/10/2020 13:37, Frédéric Pierret wrote:If anyone would have any idea of what's going on, that would be very appreciated. Thank you.Does booting Xen with `sched=credit` make a difference?Hmm, I think I have spotted a problem in credit2 which could explain the hang: csched2_unit_wake() will NOT put the sched unit on a runqueue in case it has CSFLAG_scheduled set. This bit will be reset only in csched2_context_saved().Exactly, it does not put it back there. However, if it finds a vCPU with the CSFLAG_scheduled flag set, It should set CSFLAG_delayed_runq_add flag. Unless curr_on_cpu(cpu)==unit or unit_on_runq(svc)==true... which should not be the case. Or where you saying that we actually are in one of this situations? In fact...So in case a vcpu (and its unit, of course) is blocked and there has been no other vcpu active on its physical cpu but the idle vcpu, there will be no call of csched2_context_saved(). This will block the vcpu to become active in theory for eternity, in case there is no need to run another vcpu on the physical cpu. No, I think you are right. I mixed that up with __context_switch() not being called. Sorry for the noise, Juergen
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |