Re: queue_work from interrupt Real timepreemption2.6.11-rc2-RT-V0.7.37-03

From: David S. Miller
Date: Wed Feb 16 2005 - 11:22:14 EST


On Wed, 16 Feb 2005 06:16:45 +0100
Ingo Molnar <mingo@xxxxxxx> wrote:


> Maybe the networking
> stack would break if we allowed the TIMER softirq (thread) to preempt
> the NET softirq (threads) (and vice versa)?

The major assumption is that softirq's run indivisibly per-cpu.
Otherwise the per-cpu queues of RX and TX packet work would
get corrupted.

See net/core/dev.c:softnet_data
-
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/