[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <13dfd533-daf4-3b35-3d68-5c72a294db3c@gmail.com>
Date: Mon, 13 Nov 2023 00:21:43 +0900
From: Paran Lee <p4ranlee@...il.com>
To: Marc Zyngier <maz@...nel.org>
Cc: Thomas Gleixner <tglx@...utronix.de>, linux-kernel@...r.kernel.org,
shjy180909@...il.com, austindh.kim@...il.com
Subject: Re: [PATCH] irqdesc: Fail check on early_irq_init allocation.
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
Powered by blists - more mailing lists