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

From: Thomas Gleixner
Date: Tue Feb 12 2019 - 06:28:03 EST


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.

Thanks,

tglx