Re: [PATCH] dyn_array: remove one panic

From: Ingo Molnar
Date: Sat Sep 06 2008 - 13:30:52 EST



* Yinghai Lu <yhlu.kernel@xxxxxxxxx> wrote:

> Andrew said, we don't need duplicated panic.
> because __alloc_bootmem already have that.
>
> Signed-off-by: Yinghai Lu <yhlu.kernel@xxxxxxxxx>

applied to tip/irq/sparseirq, thanks.

Maybe some design documentation would be nice too, to point out that
most of the pain we do here is because we dont have bootmem available as
early as we need an already instantiated dyn-array based IRQ array.

So we try this mix of an abstraction of preallocated and post-allocated
array, with pre-bootmem and post-bootmem behavior.

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/