On Tue, 2019-04-23 at 12:13 +0300, Andrii Anisov wrote: > Hello Dario, > > On 20.04.19 18:24, Dario Faggioli wrote: > > In schedule(), if we pick, as the next vcpu to run (next) the same > > one > > that is running already (prev), we never get to call > > context_switch(). > > And what about `if ( prev != current )` in > arm/domain.c:schedule_tail() ? > You're suggesting that's redundant too, aren't you? From a quick look, it seems to me as well that it would be. I'm ok taking care of it, not sure if in this patch, or in another one. I'm open to suggestions from ARM maintainers... Thanks and Regards -- Dario Faggioli, Ph.D http://about.me/dario.faggioli Virtualization Software Engineer SUSE Labs, SUSE https://www.suse.com/ ------------------------------------------------------------------- <> (Raistlin Majere)