[PATCH] softirq: debug

From: Ingo Molnar
Date: Mon Feb 16 2009 - 04:48:37 EST


Signed-off-by: Ingo Molnar <mingo@xxxxxxx>
---
kernel/softirq.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/kernel/softirq.c b/kernel/softirq.c
index 3dd0d13..110cad0 100644
--- a/kernel/softirq.c
+++ b/kernel/softirq.c
@@ -196,7 +196,9 @@ asmlinkage void __do_softirq(void)
cpu = smp_processor_id();
restart:
/* Reset the pending bitmask before enabling irqs */
+ ftrace_printk("#1 softirq pending: %08x\n", local_softirq_pending());
set_softirq_pending(0);
+ ftrace_printk("#2 softirq pending: %08x\n", local_softirq_pending());

local_irq_enable();

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/