From: dingtianhong Date: Wed, 10 Jul 2013 04:04:02 +0000 (+0800) Subject: ifb: fix rcu_sched self-detected stalls X-Git-Tag: v3.11-rc1~5^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=440d57bc5ff55ec1efb3efc9cbe9420b4bbdfefa;p=pandora-kernel.git ifb: fix rcu_sched self-detected stalls According to the commit 16b0dc29c1af9df341428f4c49ada4f626258082 (dummy: fix rcu_sched self-detected stalls) Eric Dumazet fix the problem in dummy, but the ifb will occur the same problem like the dummy modules. Trying to "modprobe ifb numifbs=30000" triggers : INFO: rcu_sched self-detected stall on CPU After this splat, RTNL is locked and reboot is needed. We must call cond_resched() to avoid this, even holding RTNL. Signed-off-by: Ding Tianhong Signed-off-by: David S. Miller --- Reading git-diff-tree failed