On Tue, Jan 17, 2017 at 5:27 PM, Dario Faggioli <dario.faggi...@citrix.com> wrote: > It is ok to use just cpumask_scratch in csched_runq_steal(). > In fact, the cpu parameter comes from the cpu local variable > in csched_load_balance(), which in turn comes from cpu in > csched_schedule(), which is smp_processor_id(). > > While there, also: > - move the comment about cpumask_scratch in the header > where the scratch space is declared; > - spell more clearly (in that same comment) what are the > serialization rules. > > No functional change intended. > > Signed-off-by: Dario Faggioli <dario.faggi...@citrix.com>
Acked-by: George Dunlap <george.dun...@citrix.com> And... > +/* > + * Scratch space, for avoiding having too many cpumask_var_t on the stack. I can fix this up on check-in. -George _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel