On Thu, 2016-09-08 at 13:19 +0200, Juergen Gross wrote: > The first scheduling is done via unpausing the domain. Why not > setting > the flag to true in that path? > That could be a good idea.
And in general, I'm all for finding a place and/or a state that better represents the condition of "setting to run this vcpu for the first time" and set the flag there, rather than re-assigning 1 to an "already_scheduled" flag each an every time we go through schedule() (and not for performance and optimization reason). Which domain_unpause() (or whatever) do you have in mind precisely? Thanks and Regards, Dario -- <<This happens because I choose it to happen!>> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel