From: Matthew Wilcox Date: Thu, 20 Nov 2008 21:09:33 +0000 (-0700) Subject: x86: Fix interrupt leak due to migration X-Git-Tag: v2.6.28-rc6~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ca4b6b00113b064c080d26d803d0d7c80fb5dc8;p=pandora-kernel.git x86: Fix interrupt leak due to migration When we migrate an interrupt from one CPU to another, we set the move_in_progress flag and clean up the vectors later once they're not being used. If you're unlucky and call destroy_irq() before the vectors become un-used, the move_in_progress flag is never cleared, which causes the interrupt to become unusable. This was discovered by Jesse Brandeburg for whom it manifested as an MSI-X device refusing to use MSI-X mode when the driver was unloaded and reloaded repeatedly. Signed-off-by: Matthew Wilcox Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed