Question about ia64_ap_startup()
Marcel Moolenaar
xcllnt at mac.com
Sun Oct 19 20:15:37 UTC 2008
On Oct 19, 2008, at 9:52 AM, Marcel Moolenaar wrote:
>
> On Oct 17, 2008, at 4:19 AM, Christian Kandeler wrote:
>
>> Hello,
>>
>> I've been looking at the implementation of ia64_ap_startup() and it
>> seems to me that the "ap_awake++" statement has a rather obvious race
>> condition. Shouldn't one of the atomic macros be used here instead?
>> Or am I missing something?
>
> No, you're not missing anything. It should use an atomic
> operation.
Fixed in HEAD.
Thanks,
--
Marcel Moolenaar
xcllnt at mac.com
More information about the freebsd-ia64
mailing list