[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5ab46413-5810-475a-b8c1-3c9b142ea35c@linux.alibaba.com>
Date: Wed, 6 Mar 2024 19:09:29 +0800
From: Bitao Hu <yaoma@...ux.alibaba.com>
To: Thomas Gleixner <tglx@...utronix.de>,
Doug Anderson <dianders@...omium.org>
Cc: liusong@...ux.alibaba.com, akpm@...ux-foundation.org, pmladek@...e.com,
kernelfans@...il.com, deller@....de, npiggin@...il.com,
tsbogend@...ha.franken.de, James.Bottomley@...senpartnership.com,
jan.kiszka@...mens.com, linux-kernel@...r.kernel.org,
linux-mips@...r.kernel.org, linux-parisc@...r.kernel.org,
linuxppc-dev@...ts.ozlabs.org, yaoma@...ux.alibaba.com
Subject: Re: [PATCHv11 2/4] genirq: Provide a snapshot mechanism for interrupt
statistics
Hi,
On 2024/3/6 00:57, Thomas Gleixner wrote:
>
>> diff --git a/kernel/irq/Kconfig b/kernel/irq/Kconfig
>> index 2531f3496ab6..a28e5ac5fc79 100644
>> --- a/kernel/irq/Kconfig
>> +++ b/kernel/irq/Kconfig
>> @@ -108,6 +108,10 @@ config GENERIC_IRQ_MATRIX_ALLOCATOR
>> config GENERIC_IRQ_RESERVATION_MODE
>> bool
>>
>> +# Snapshot for interrupt statistics
>> +config GENERIC_IRQ_STAT_SNAPSHOT
>> + bool
>> +
>> # Support forced irq threading
>> config IRQ_FORCED_THREADING
>> bool
>> diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
>> index 49f652674bd8..899b69fcb598 100644
>> --- a/lib/Kconfig.debug
>> +++ b/lib/Kconfig.debug
>> @@ -1032,6 +1032,7 @@ config SOFTLOCKUP_DETECTOR
>> config SOFTLOCKUP_DETECTOR_INTR_STORM
>> bool "Detect Interrupt Storm in Soft Lockups"
>> depends on SOFTLOCKUP_DETECTOR && IRQ_TIME_ACCOUNTING
>> + select GENERIC_IRQ_STAT_SNAPSHOT
>
> This goes into the patch which adds the lockup detector parts.
>
OK, I will implement this in the next version.
Best Regards,
Bitao Hu
Powered by blists - more mailing lists