From: Chris Leech Date: Wed, 2 Aug 2006 21:21:19 +0000 (-0700) Subject: [I/OAT]: Remove CPU hotplug lock from net_dma_rebalance X-Git-Tag: v2.6.18-rc4~65^2~2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6eb307d48c81d688804f8b39a0a3ddde3cd3458;p=pandora-kernel.git [I/OAT]: Remove CPU hotplug lock from net_dma_rebalance Remove the lock_cpu_hotplug()/unlock_cpu_hotplug() calls from net_dma_rebalance The lock_cpu_hotplug()/unlock_cpu_hotplug() sequence in net_dma_rebalance is both incorrect (as pointed out by David Miller) because lock_cpu_hotplug() may sleep while the net_dma_event_lock spinlock is held, and unnecessary (as pointed out by Andrew Morton) as spin_lock() disables preemption which protects from CPU hotplug events. Signed-off-by: Chris Leech Signed-off-by: David S. Miller --- Reading git-diff-tree failed