Re: [PATCH 3/11] powerpc: convert to generic helpers for IPI function calls

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Paul Mackerras
Date: Tuesday, April 22, 2008 - 5:03 am

Jens Axboe writes:


Looks OK, and runs on a dual G5 powermac here.  I'll try on some
bigger IBM boxes tomorrow, or maybe Anton can do that.

I notice that you have changed the semantics slightly in that
previously, the powerpc implementation would wait for the other cpus
to have taken the interrupt, and print a message if they didn't all
take the interrupt (this was different from the function of the `wait'
parameter, which said whether to wait for all cpus to finish executing
the specified function).

Now the generic smp_call_function_mask doesn't wait for the other cpus
to take the interrupt.  I don't think that's likely to be a problem,
but I do think that's worth mentioning in the patch description.

It's probably also worth mentioning that smp_send_stop no longer has
the behaviour of doing its stuff even if someone is holding the lock,
but that is OK (presumably) because now the lock (call_function_lock
in the new code) is held for much shorter periods and there doesn't
appear to be much danger of other cpus getting stuck or panicking
while holding that lock.

You can put Acked-by: Paul Mackerras <paulus@samba.org> on the ppc
patch, but please extend the description a bit as outlined above.

Thanks for doing this, BTW.

Regards,
Paul.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/11] Generic smp_call_function() and friends, Jens Axboe, (Tue Apr 22, 12:57 am)
Re: [PATCH 11/11] s390: convert to generic helpers for IPI ..., Martin Schwidefsky, (Tue Apr 22, 1:04 am)
Re: [PATCH 0/11] Generic smp_call_function() and friends, Peter Zijlstra, (Tue Apr 22, 1:48 am)
Re: [PATCH 3/11] powerpc: convert to generic helpers for I ..., Paul Mackerras, (Tue Apr 22, 5:03 am)
Re: [PATCH 1/11] Add generic helpers for arch IPI function ..., Rafael J. Wysocki, (Thu Apr 24, 2:30 pm)
Re: [PATCH 2/11] x86: convert to generic helpers for IPI f ..., Jeremy Fitzhardinge, (Sat Apr 26, 1:59 am)