From: Konrad Rzeszutek Wilk Date: Fri, 23 Jul 2010 18:35:47 +0000 (-0400) Subject: xen/pciback: Fine-grain the spinlocks and fix BUG: scheduling while atomic cases. X-Git-Tag: v3.1-rc1~318^2^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=494ef20db6ea2e2ab1c3a45a1461e6e717fdcf48;p=pandora-kernel.git xen/pciback: Fine-grain the spinlocks and fix BUG: scheduling while atomic cases. We were using coarse spinlocks that could end up with a deadlock. This patch fixes that and makes the spinlocks much more fine-grained. We also drop be->watchding state spinlocks as they are already guarded by the xenwatch_thread against multiple customers. Without that we would trigger the BUG: scheduling while atomic. Signed-off-by: Konrad Rzeszutek Wilk --- Reading git-diff-tree failed