Re: [PATCH 2/4] generic-smp: remove kmalloc usage

From: Ingo Molnar
Date: Tue Feb 17 2009 - 05:57:42 EST



* Peter Zijlstra <a.p.zijlstra@xxxxxxxxx> wrote:

> On Tue, 2009-02-17 at 10:43 +0100, Ingo Molnar wrote:
> >
> > We should not bend backwards trying to preserve that kmalloc()
> > [and prove that it's safe and race-free] - i.e. the burden of
> > proof is on the person insisting that it's needed, not on the
> > person wanting to remove it.
>
> I'm not getting it, I am removing it. The only thing I want to
> preserve is the multi-cast ipi and not be forced into the
> multiple single-ipi path.

i know, but i mean we are trying to achieve something hard that
came together with the kmalloc() in essence.

So instead of trying to preserve that, how about removing it the
obvious way and then adding back a more complex multi-cast IPI
code?

That way we'll have a safe point to fall back to, should Oleg
poke more holes into it, down the line ;-)

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/