local_irq_enable() in __do_softirq()?

From: Peter Osterlund
Date: Sat Jul 30 2005 - 05:36:42 EST


Hi,

The change "x86_64: Switch to the interrupt stack when running a
softirq in local_bh ..." (ed6b676ca8b50e0b538e61c283d52fd04f007abf)
contains this:

--- a/kernel/softirq.c
+++ b/kernel/softirq.c
@@ -86,7 +86,7 @@ restart:
/* Reset the pending bitmask before enabling irqs */
local_softirq_pending() = 0;

- local_irq_enable();
+ //local_irq_enable();

h = softirq_vec;

@@ -99,7 +99,7 @@ restart:
pending >>= 1;
} while (pending);

- local_irq_disable();
+ //local_irq_disable();

pending = local_softirq_pending();
if (pending && --max_restart)

Is that intentional? If so, shouldn't the code be removed instead of
commented out?

--
Peter Osterlund - petero2@xxxxxxxxx
http://web.telia.com/~u89404340
-
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/