Commit b6ecb933 authored by Mikulas Patocka's avatar Mikulas Patocka Committed by Thomas Gleixner

net: NOHZ: local_softirq_pending with tickless

On one of my machines with tickless kernel and plip I get messages :

NOHZ: local_softirq_pending 08

always when using plip (on other machine with tickless kernel and plip I
get no errors). Thebug happens both on 2.6.21 and 2.6.22-rc1

This patch fixes that. Note that plip calls netif_rx neither from hardware
interrupt nor from ksoftirqd, so there is no one who would wake
ksoftirqd then. netif_tx calls only
__raise_softirq_irqoff(NET_RX_SOFTIRQ), which sets softirq bit, but
doesn't wake ksoftirqd.

[ tglx: Removed the remaining users of __raise_softirq_irqoff() as well. ]
Signed-off-by: default avatarMikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 0f2c3c2b
...@@ -2879,7 +2879,7 @@ out: ...@@ -2879,7 +2879,7 @@ out:
softnet_break: softnet_break:
__get_cpu_var(netdev_rx_stat).time_squeeze++; __get_cpu_var(netdev_rx_stat).time_squeeze++;
__raise_softirq_irqoff(NET_RX_SOFTIRQ); raise_softirq_irqoff(NET_RX_SOFTIRQ);
goto out; goto out;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment