Question about ia64_ap_startup()

Marcel Moolenaar xcllnt at mac.com
Sun Oct 19 16:53:02 UTC 2008


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.

-- 
Marcel Moolenaar
xcllnt at mac.com





More information about the freebsd-ia64 mailing list