Messages in this thread | | | Date | Sun, 16 Mar 2008 15:58:44 -0700 | From | Jeremy Fitzhardinge <> | Subject | Re: [PATCH 1/7] x86-64: introduce fast variant of smp_call_function_single() |
| |
Jens Axboe wrote: > On Fri, Mar 14 2008, Jeremy Fitzhardinge wrote: > >> Jens Axboe wrote: >> >>> rom: Nick Piggin <npiggin@suse.de> >>> >>> >> 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
| |