Messages in this thread | | | Date | Sat, 25 Sep 1999 14:48:23 +0200 (CEST) | From | Ingo Molnar <> | Subject | Re: possible deadlock in smp_call_function()? |
| |
On Sat, 25 Sep 1999, Manfred Spraul wrote:
> if the smp_function area is busy, then smp_call_function() executes the > following code: > > > if (retry) { > > while (1) { > > if (smp_call_function_data) { > > schedule (); /* Give a mate a go */ > ^^^^^^^^^
yeah, i've been wondering about that one as well. Basically you have to be careful to either call it without the retry option, or make sure to not call it with spinlocks held. I'll fix this in my APIC patches to yield instead of pure schedule().
-- mingo
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |