[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20091009.162120.164441279.davem@davemloft.net>
Date: Fri, 09 Oct 2009 16:21:20 -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: David Miller <davem@...emloft.net>
Date: Fri, 09 Oct 2009 15:08:29 -0700 (PDT)
> Thank you for this bug report and patch, I am looking at
> it now.
I'm trying to figure out how the deadlock can even occur,
and I've failed so far, please help me :-)
See, we always take the VIO and LDC locks in the same order
(VIO then LDC) and always with interrupts disabled, so it is
not possible to deadlock.
The only way we could deadlock is if:
1) There is some path that takes the LDC lock before the VIO one.
2) There is some path that takes either lock with interrupts
enabled.
And I cannot find any such case.
It might help if you run your test case with lockdep enabled. It will
find such deadlocks and report them precisely to the kernel logs.
Thank you!
--
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