On 06/04/2010 11:16, "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx> wrote:
> Keir, really thanks for your patch very much. I should not take leave in last
> Friday and this monday :( In fact, although your patch fixed the issue in my
> mail, but there still another bug in PM side for CPU online/offline, which
> will cause panic sometimes, so anyway, CPU online/offline can't pass our
> stress test in xen 4.0.
> I'm testing the patch. Seems it at least passed loop count 500, o*line all
> APs, leaves only BSP online.
> A potential issue in the patch is, in following change, it may trigger the
> assert of __sync_lazy_execstate(), which assume current is idle_vcpu, however,
> at this time, we can't gurrante this. A check for current vcpu is needed.
I looked at the code again, and are you sure about this? As in, have you
seen the assertion trigger? The check that current is the idle_vcpu is only
made 'if(switch_required)', and that can only be the case if we are running
the idle_vcpu! So I think my patch is good as it is, would you agree?
-- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|