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

Ingo Molnar
2009-02-17T10:57:40Z

* Peter Zijlstra <a.p.zijlstra@chello.nl> 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