Re: [PATCH 1/7] x86-64: introduce fast variant of smp_call_function_single()

From: Jens Axboe
Date: Mon Mar 17 2008 - 03:25:29 EST


On Sun, Mar 16 2008, Jeremy Fitzhardinge wrote:
> Jens Axboe wrote:
> >On Fri, Mar 14 2008, Jeremy Fitzhardinge wrote:
> >
> >>Jens Axboe wrote:
> >>
> >>>rom: Nick Piggin <npiggin@xxxxxxx>
> >>>
> >>>
> >>Why is this necessary? How is smp_call_function_single slow?
> >>
> >
> >Because it's completely serialized by the call_lock spinlock.
> >
>
> Hm, yes. Would it be possible to implement smp_call_function_mask in a
> generic way to avoid that? Turn the static structure into a per-cpu
> request list?

Have you looked at the patches you are replying to? :-)

--
Jens Axboe

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/