lkml.org 
[lkml]   [2023]   [Oct]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [RFC PATCH] genirq: Exclude managed irq during irq migration
Date
On Fri, Oct 20 2023 at 15:25, Chen Yu wrote:
> diff --git a/kernel/irq/matrix.c b/kernel/irq/matrix.c
> index 1698e77645ac..d245ad76661e 100644
> --- a/kernel/irq/matrix.c
> +++ b/kernel/irq/matrix.c
> @@ -475,7 +475,7 @@ unsigned int irq_matrix_allocated(struct irq_matrix *m)
> {
> struct cpumap *cm = this_cpu_ptr(m->maps);
>
> - return cm->allocated;
> + return cm->allocated - cm->managed_allocated;

The kernel documentation above this function is now misleading. Sigh...

\
 
 \ /
  Last update: 2023-10-25 16:37    [W:0.094 / U:1.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site