Re: [Xen-devel] schedulers' use of cpumask_scratch

2016-12-09 Thread Dario Faggioli
On Thu, 2016-12-08 at 07:33 -0700, Jan Beulich wrote: > Dario, > Hi, > While it's > already > in use in credit1's __runq_tickle(), I then got puzzled by the > different > ways credit1 and credit2 use the variable: The former always uses > scratch_cpumask_cpu() with the subject CPU as argument, wh

[Xen-devel] schedulers' use of cpumask_scratch

2016-12-08 Thread Jan Beulich
Dario, analyzing a stack overflow I've run into the other day I came across credit1's __runq_tickle() not only itself having two cpumask_t variables on the stack, but then also calling cpumask_raise_softirq() (which uses yet one more). I then recalled you have a scratch mask in the scheduler, and