[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v3 1/1] xen: move TLB-flush filtering out into populate_physmap during vm creation
On 08/09/16 15:49, Dario Faggioli wrote: > 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? Domains are created with a single systemcontroller pause refcount, which must be undone by the use of XEN_DOMCTL_unpausedomain when construction is complete. That would be the appropriate place to set such a variable. ~Andrew _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |