Re: [PATCH 0/5] Generic smp_call_function(), improvements, andsmp_call_function_single()

From: Ingo Molnar
Date: Fri Mar 21 2008 - 05:54:25 EST



* Jens Axboe <jens.axboe@xxxxxxxxxx> wrote:

> The patch series is also available in the 'generic-ipi' branch from
>
> git://git.kernel.dk/linux-2.6-block.git
>
> and the 'io-cpu-affinity' branch is directly based on this.

i'm still wondering about the following fundamental bit: why not use per
CPU kernel threads? That way you get a fast (lockless) IPI "for free" as
SMP wakeups already do this.

smp_call_function() is quirky and has deep limitations on atomicity,
etc., so we are moving away from it and should not base more
functionality on it.

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