From: Herbert Xu Date: Fri, 28 Mar 2008 23:25:26 +0000 (-0700) Subject: [NET]: Add preemption point in qdisc_run X-Git-Tag: v2.6.25-rc9~99^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ba2506ca7ca62c56edaa334b0fe61eb5eab6ab0;p=pandora-kernel.git [NET]: Add preemption point in qdisc_run The qdisc_run loop is currently unbounded and runs entirely in a softirq. This is bad as it may create an unbounded softirq run. This patch fixes this by calling need_resched and breaking out if necessary. It also adds a break out if the jiffies value changes since that would indicate we've been transmitting for too long which starves other softirqs. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller --- Reading git-diff-tree failed