[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Re: [PATCH] [RFC] Fix a small window on CPU online/offline
On 02/04/2010 08:14, "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx> wrote: > Hm, actually maybe that could work. You might not even need a flag in case > current is non-idle in cpu_disable_scheduler(). It might suffice to force > context_switch() to do full context switch synchronously when the CPU is > going offline (see appended patch). I was thinking there was a race as soon > as the cpu is cleared from cpu_online_map, but actually the problem occurs > only once the vcpu is descheduled, so if we can synchronously sync its state > before calling context_saved(), perhaps we are fine. > > This could be a very small patch after all! :-) Perhaps even as small as the attached patch? It's simple enough we could almost consider it for 4.0.0. -- Keir Attachment:
00-offline _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |