Re: [PATCH] use per cpu data for single cpu ipi calls

From: Peter Zijlstra
Date: Thu Jan 29 2009 - 06:42:27 EST


On Thu, 2009-01-29 at 12:13 +0100, Ingo Molnar wrote:
> * Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
>
> > > Can generic_smp_call_function_single_interrupt() ever see
> > > CSD_FLAG_ALLOC set now? If not, that kfree can go away.
> >
> > Like said above, removing that kmalloc will hurt people.
>
> the whole promise of generic-IPI seems to dwindle and we'll get back to
> roughly where we started out from.

I'd not go that far, the per-cpu csd is a nice fallback, but removing
that kmalloc is just silly.

And I see no reason why arch specific could do any better (aside from
sparc which has fancy ipis).

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