commit | 494ef20db6ea2e2ab1c3a45a1461e6e717fdcf48 | [log] [tgz] |
---|---|---|
author | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | Fri Jul 23 14:35:47 2010 -0400 |
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | Tue Jul 19 20:58:32 2011 -0400 |
tree | 1ec8749b08e5042a57d08014ea9e0fea832e4ee8 | |
parent | 0513fe9e5b54e47e37217ea078dd870e3825e02d [diff] |
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 <konrad.wilk@oracle.com>