Re: [patch] i386/x86_64: smp_call_function locking inconsistency

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jan Glauber
Date: Friday, February 9, 2007 - 5:57 am

On Fri, 2007-02-09 at 09:42 +0100, Heiko Carstens wrote:

I think the caller must disable preemption since smp_call_function()
means "do something on all but the current cpu". If the preempt_disable
would happen only in smp_call_function() it could already be running on
a different cpu, which is not what the caller wants.

If preemption must be disabled before smp_call_function() we should have
the same semantics for all smp_call_function_* variants.

Jan

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [patch] i386/x86_64: smp_call_function locking inconsi ..., Jan Glauber, (Fri Feb 9, 5:57 am)