lkml.org 
[lkml]   [2023]   [Nov]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] irqdesc: Fail check on early_irq_init allocation.
From


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

\
 
 \ /
  Last update: 2023-11-20 13:57    [W:0.051 / U:0.404 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site