Commit:     f13ef7754f724842dbf5ae6d85d0604fff0d1a84
Parent:     af49d9248fca6f26cbdb01918334f71d9040df80
Author:     Ravikiran G Thirumalai <[EMAIL PROTECTED]>
AuthorDate: Tue Oct 16 23:26:28 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Wed Oct 17 08:42:49 2007 -0700

    report the per-irq statistics on all arches
    Commit 4004c69ad68dd03733179277280ea2946990ba36 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: Ravikiran Thirumalai <[EMAIL PROTECTED]>
    Cc: Paul Mackerras <[EMAIL PROTECTED]>
    Cc: Benjamin Herrenschmidt <[EMAIL PROTECTED]>
    Cc: "Luck, Tony" <[EMAIL PROTECTED]>
    Cc: Richard Henderson <[EMAIL PROTECTED]>
    Cc: Ivan Kokshaysky <[EMAIL PROTECTED]>
    Acked-by: Linus Torvalds <[EMAIL PROTECTED]>
    Cc: Andi Kleen <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 fs/proc/proc_misc.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/fs/proc/proc_misc.c b/fs/proc/proc_misc.c
index 5de7f87..d6dc72c 100644
--- a/fs/proc/proc_misc.c
+++ b/fs/proc/proc_misc.c
@@ -526,11 +526,8 @@ static int show_stat(struct seq_file *p, void *v)
        seq_printf(p, "intr %llu", (unsigned long long)sum);
-#ifndef CONFIG_SMP
-       /* Touches too many cache lines on SMP setups */
        for (i = 0; i < NR_IRQS; i++)
                seq_printf(p, " %u", per_irq_sum[i]);
                "\nctxt %llu\n"
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to