Re: [PATCH v9 2/3] x86,/proc/pid/status: Add AVX-512 usage elapsed time

From: Li, Aubrey
Date: Tue Feb 12 2019 - 06:52:34 EST


On 2019/2/12 19:27, Thomas Gleixner wrote:
> On Tue, 12 Feb 2019, Li, Aubrey wrote:
>> $ find . -name *.h | xargs grep arch_irq_stat
>> ./arch/arm64/include/asm/hardirq.h:#define arch_irq_stat_cpu smp_irq_stat_cpu
>> ./arch/arm/include/asm/hardirq.h:#define arch_irq_stat_cpu smp_irq_stat_cpu
>> ./arch/x86/include/asm/hardirq.h:extern u64 arch_irq_stat_cpu(unsigned int cpu);
>>
>> This looks more flexible than it in the common header file.
>
> Looking more flexible does not make it more correct.

Okay, will cook a new version to put it into the common header.

Thanks,
-Aubrey