• R
    report the per-irq statistics on all arches · f13ef775
    Ravikiran G Thirumalai 提交于
    Commit 4004c69a avoids too many remote cpu
    references while reporting per-irq stats.  Since we will not have the same
    performance penalty of bringing in remote cpu cachelines while reporting
    per-irq stats anymore, we can now afford to be consistent and report this
    statistic on all arches, all configs.
    
    akpm: affects ia64, alpha and ppc64, mainly.
    
    Kiran earlier said:
    
    Read to /proc/stat takes:
    Plain: 	2.622832
    With speedup patch: 0.013194
    With the per-irq stats commented out: 0.008124
    
    So the performance problems which originally caused those architectures to
    disable this statistic should now be fixed up.
    Signed-off-by: NRavikiran Thirumalai <kiran@scalex86.org>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
    Cc: "Luck, Tony" <tony.luck@intel.com>
    Cc: Richard Henderson <rth@twiddle.net>
    Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
    Acked-by: NLinus Torvalds <torvalds@linux-foundation.org>
    Cc: Andi Kleen <ak@suse.de>
    Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
    f13ef775
proc_misc.c 19.9 KB