Re: [PATCH] irqdesc: Fail check on early_irq_init allocation.
From: Paran Lee
Date: Sun Nov 12 2023 - 10:21:52 EST
On 2023-11-13 오전 12:08, Marc Zyngier wrote:
Thanks for the great feedback Marc!
The review has taught me a lot of things I didn't realized
I'll try to do better in the direction you suggested. To be useful.
> A much better idea would be to *get rid* of early allocation failures
> altogether, by moving all architectures to SPARSE_IRQ and making sure
> that NR_LEGAY_IRQ is always zero, meaning there is nothing to
> allocate. That would be something useful.
>
> But adding random BUG_ON() based on the dogma that all allocations
> must be checked doesn't bring value to the kernel as a whole.
>
> M.
Thanks so much!
BR
Paran Lee