[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] credit: fix race condition in csched_vcpu flags
On Mon, Feb 25, 2013 at 8:20 AM, Igor Pavlikevich <ipavlikevich@xxxxxxxxx> wrote:
When vcpu stops yielding, it's possible to overwrite CSCHED_FLAG_VCPU_PARKED flag after clearing CSCHED_FLAG_VCPU_YIELD. Good catch -- I guess we don't really test the scheduler "cap" functionality enough to catch this one. Unfortunately I think the real problem is that the ->flags field should be uniformly using the atomic bit operations. Can you try the attached patch and see if it works for you?
-George Attachment:
credit-atomic-flags.diff _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |