RE: [RFC 06/12] genirq: Add per-cpu flow handler with conditional IRQ stats

2024-06-06 Thread Michael Kelley
From: Thomas Gleixner Sent: Thursday, June 6, 2024 2:34 AM > > On Thu, Jun 06 2024 at 03:14, Michael Kelley wrote: > > From: Thomas Gleixner Sent: Wednesday, June 5, 2024 > > 7:20 AM > >> > >> On Wed, Jun 05 2024 at 13:45, Michael Kelley wrote: > >> > From: Thomas Gleixner Sent: Wednesday, Jun

RE: [RFC 06/12] genirq: Add per-cpu flow handler with conditional IRQ stats

2024-06-06 Thread Thomas Gleixner
On Thu, Jun 06 2024 at 03:14, Michael Kelley wrote: > From: Thomas Gleixner Sent: Wednesday, June 5, 2024 7:20 > AM >> >> On Wed, Jun 05 2024 at 13:45, Michael Kelley wrote: >> > From: Thomas Gleixner Sent: Wednesday, June 5, 2024 >> > 6:20 AM >> > >> > In /proc/interrupts, the double-counting

RE: [RFC 06/12] genirq: Add per-cpu flow handler with conditional IRQ stats

2024-06-05 Thread Michael Kelley
From: Thomas Gleixner Sent: Wednesday, June 5, 2024 7:20 AM > > On Wed, Jun 05 2024 at 13:45, Michael Kelley wrote: > > From: Thomas Gleixner Sent: Wednesday, June 5, 2024 > > 6:20 AM > > > > In /proc/interrupts, the double-counting isn't a problem, and is > > potentially helpful as you say. Bu

RE: [RFC 06/12] genirq: Add per-cpu flow handler with conditional IRQ stats

2024-06-05 Thread Thomas Gleixner
On Wed, Jun 05 2024 at 13:45, Michael Kelley wrote: > From: Thomas Gleixner Sent: Wednesday, June 5, 2024 6:20 > AM > > In /proc/interrupts, the double-counting isn't a problem, and is > potentially helpful as you say. But /proc/stat, for example, shows a total > interrupt count, which will be ro

RE: [RFC 06/12] genirq: Add per-cpu flow handler with conditional IRQ stats

2024-06-05 Thread Michael Kelley
From: Thomas Gleixner Sent: Wednesday, June 5, 2024 6:20 AM > > On Tue, Jun 04 2024 at 23:03, Michael Kelley wrote: > > From: Thomas Gleixner Sent: Tuesday, June 4, 2024 > > 11:14 AM > >>1) Move the inner workings of handle_percpu_irq() out into > >> a static function which returns th

RE: [RFC 06/12] genirq: Add per-cpu flow handler with conditional IRQ stats

2024-06-05 Thread Thomas Gleixner
On Tue, Jun 04 2024 at 23:03, Michael Kelley wrote: > From: Thomas Gleixner Sent: Tuesday, June 4, 2024 11:14 > AM >>1) Move the inner workings of handle_percpu_irq() out into >> a static function which returns the 'handled' value and >> share it between the two handler functions.

RE: [RFC 06/12] genirq: Add per-cpu flow handler with conditional IRQ stats

2024-06-04 Thread Michael Kelley
From: Thomas Gleixner Sent: Tuesday, June 4, 2024 11:14 AM > > Michael! > > On Mon, Jun 03 2024 at 22:09, mhkelle...@gmail.com wrote: > > Hyper-V VMBus devices generate interrupts that are multiplexed > > onto a single per-CPU architectural interrupt. The top-level VMBus > > driver ISR demultipl

Re: [RFC 06/12] genirq: Add per-cpu flow handler with conditional IRQ stats

2024-06-04 Thread Thomas Gleixner
Michael! On Mon, Jun 03 2024 at 22:09, mhkelle...@gmail.com wrote: > Hyper-V VMBus devices generate interrupts that are multiplexed > onto a single per-CPU architectural interrupt. The top-level VMBus > driver ISR demultiplexes these interrupts and invokes per-device > handlers. Currently, these p

[RFC 06/12] genirq: Add per-cpu flow handler with conditional IRQ stats

2024-06-03 Thread mhkelley58
From: Michael Kelley Hyper-V VMBus devices generate interrupts that are multiplexed onto a single per-CPU architectural interrupt. The top-level VMBus driver ISR demultiplexes these interrupts and invokes per-device handlers. Currently, these per-device handlers are not modeled as Linux IRQs, so