Messages in this thread | | | From | Thomas Gleixner <> | Subject | Re: [RFC PATCH] genirq: Exclude managed irq during irq migration | Date | Wed, 25 Oct 2023 16:36:31 +0200 |
| |
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...
| |