Re: [PATCH 1/2] RT: Preemptible Function-Call-IPI Support

From: Ingo Molnar
Date: Tue Jul 31 2007 - 05:21:33 EST



[ mail re-sent with lkml Cc:-ed. _Please_ Cc: all patches to lkml too!
Unless you want -rt to suffer the fate of -ck, keep upstream involved
all the time. The recent /proc/interrupts-all discussion with upstream
folks showed the clear benefits of that approach. ]

* Gregory Haskins <ghaskins@xxxxxxxxxx> wrote:

> This code allows FUNCTION_CALL IPIs to become preemptible by executing
> them in kthread context instead of interrupt context. They are
> referred to as "Virtual Function Call IPIs" (VFCIPI) because we no
> longer rely on the actual FCIPI facility. Instead we schedule a
> thread to run. This essentially replaces the synchronous FCIPI with
> an async RESCHEDULE IPI.

why do we need this? It's quite complex and brings little extra AFAICS.
See the "schedule_on_each_cpu-enhance.patch" from Peter Ziljstra that
lets a function to be executed on all CPUs. That should be extended
(trivially) to execute a function on another CPU. That's all we need.

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/