Re: [PATCH 1/11] Add generic helpers for arch IPI function calls

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jens Axboe
Date: Sunday, April 27, 2008 - 3:30 am

On Fri, Apr 25 2008, Andrew Morton wrote:

I'll get rid of the ifdef.


Sure


We could do online CPUs and use a notifier for hotplug, but does it
really matter?


If you think that is too large to inline, then can we inline anything?
It's a barrier and a andl basically, a handful of instructions perhaps?
That said, I don't care much either way. It's a sync wait, so it need
not be inline.


See below, the smp_call_* restrictions apply.


Sure, though this is pretty straightforward usage of RCU, it cannot hurt
:)


Noted, I'll make sure all paths are covered.


Yes I know, I can add it to the comment instead. And even if it wasn't
with irqs disabled, the get_cpu() has already disabled preemption.


Thanks, I'll use that.


OK, will do. This one is to serialize data/csd stores so they are seen
before the flag wake up.


To avoid taking the lock before the list empty check. Will comment.


Ditto for that one, when we go around the loop again.


Probably not for __smp_call_function_single(), but the others should be
covered.


The bit lock is smaller, but apart from that there should be zero
functional difference.

-- 
Jens Axboe

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

Messages in current thread:
[PATCH 0/11] Generic smp_call_function() #2, Jens Axboe, (Tue Apr 22, 11:50 am)
Re: [PATCH 11/11] s390: convert to generic helpers for IPI ..., Martin Schwidefsky, (Wed Apr 23, 5:42 am)
Re: [PATCH 1/11] Add generic helpers for arch IPI function ..., Jeremy Fitzhardinge, (Fri Apr 25, 11:28 pm)
Re: [PATCH 2/11] x86: convert to generic helpers for IPI f ..., Jeremy Fitzhardinge, (Fri Apr 25, 11:44 pm)
Re: [PATCH 1/11] Add generic helpers for arch IPI function ..., Jens Axboe, (Sun Apr 27, 3:30 am)
Re: [PATCH 2/11] x86: convert to generic helpers for IPI f ..., Jeremy Fitzhardinge, (Sun Apr 27, 8:18 am)