[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] [PATCH v6 00/20] xen: add core scheduling support
- To: Sergey Dyasli <sergey.dyasli@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
- From: Jürgen Groß <jgross@xxxxxxxx>
- Date: Fri, 4 Oct 2019 06:29:34 +0200
- Cc: Igor Druzhinin <igor.druzhinin@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Wei Liu <wl@xxxxxxx>, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>, George Dunlap <George.Dunlap@xxxxxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Tim Deegan <tim@xxxxxxx>, Ian Jackson <ian.jackson@xxxxxxxxxxxxx>, Robert VanVossen <robert.vanvossen@xxxxxxxxxxxxxxx>, Dario Faggioli <dfaggioli@xxxxxxxx>, Josh Whitehead <josh.whitehead@xxxxxxxxxxxxxxx>, Meng Xu <mengxu@xxxxxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>
- Delivery-date: Fri, 04 Oct 2019 04:29:49 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 03.10.19 11:47, Sergey Dyasli wrote:
Hi Juergen,
Looks like we've hit the first Xen crash with core scheduling patches applied.
The log is below. From my analysis it seems that CSCHED_PCPU is NULL.
I suspect this is connected to commit b0000b128adb
("sched: populate cpupool0 only after all cpus are up")
Could you take a look, please?
The main reason is that sched_tick_resume() should call
sched_do_tick_resume() only with the scheduling lock held.
This has been a latent bug since ages, but my patches (especially
"sched: add minimalistic idle scheduler for free cpus" in combination
with "sched: populate cpupool0 only after all cpus are up") is
triggering it much easier now.
In the past you'd need to remove a cpu from a cpupool with null, rt or
arinc653 scheduler with default scheduler being credit in order to have
a chance hitting the bug.
I'll send a patch.
Juergen
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel
|