[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20091009.150829.218507309.davem@davemloft.net>
Date: Fri, 09 Oct 2009 15:08:29 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: heyongli@...il.com
Cc: sparclinux@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: Linux guest domain with two vnets bound to the same vswitch
experiences hung in bootup (sun_netraT5220)
From: hyl <heyongli@...il.com>
Date: Thu, 24 Sep 2009 10:03:25 +0800
> Subject: [PATCH] Sun ldom vnet driver dead lock
>
> if 2 vnet attach to same vswitch, ldom will report
> 2 same irq then lead to dead lock on the lp->lock
> or the vio->lock
>
> static irqreturn_t ldc_rx(int irq, void *dev_id){
> ...
> out:
> spin_unlock_irqrestore(&lp->lock, flags);
> << here run with out any lock
> send_events(lp, event_mask);
> >> vnet evetn process will dead lock on
> >> lp->lock or the vio->lock
>
> Signed-off-by: Yongli He <heyongli@...il.com>
Thank you for this bug report and patch, I am looking at
it now.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists