[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] Sleeping with spinlock held

  • To: Glauber de Oliveira Costa <gcosta@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
  • Date: Mon, 09 Oct 2006 20:39:54 +0100
  • Delivery-date: Mon, 09 Oct 2006 12:50:56 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Acbr2rGA7+0cl1fNEduJIgANk04WTA==
  • Thread-topic: [Xen-devel] [PATCH] Sleeping with spinlock held

On 9/10/06 8:30 pm, "Glauber de Oliveira Costa" <gcosta@xxxxxxxxxx> wrote:

> In drivers/xen/blkfront/blkfront.c, flush_scheduled_work(), that might
> sleep, is being called with a spinlock held, thus triggering a BUG.
> I think it's safe to just poke it out from the locked region, as it
> seems to me we won't be receiving any more work at this time.
> In case you agree, I'm attaching a simple patch that fix this.

Already fixed in xen-unstable, but thanks!

 -- Keir

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.