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

From: Jeremy Fitzhardinge
Date: Sun Mar 16 2008 - 19:01:38 EST


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?

J
--
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/