[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87sf5y6a6o.ffs@tglx>
Date: Wed, 25 Oct 2023 16:36:31 +0200
From: Thomas Gleixner <tglx@...utronix.de>
To: Chen Yu <yu.c.chen@...el.com>, Juergen Gross <jgross@...e.com>
Cc: Len Brown <len.brown@...el.com>,
"Rafael J . Wysocki" <rafael.j.wysocki@...el.com>,
Dan Williams <dan.j.williams@...el.com>,
linux-kernel@...r.kernel.org, Chen Yu <yu.chen.surf@...il.com>,
Chen Yu <yu.c.chen@...el.com>,
Wendy Wang <wendy.wang@...el.com>
Subject: Re: [RFC PATCH] genirq: Exclude managed irq during irq migration
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...
Powered by blists - more mailing lists