[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] [PATCH v6 3/5] IOMMU: Make the pcidevs_lock a recursive one
- To: Jan Beulich <JBeulich@xxxxxxxx>
- From: "Xu, Quan" <quan.xu@xxxxxxxxx>
- Date: Mon, 7 Mar 2016 11:23:05 +0000
- Accept-language: en-US
- Cc: "Tian, Kevin" <kevin.tian@xxxxxxxxx>, "Wu, Feng" <feng.wu@xxxxxxxxx>, "Nakajima, Jun" <jun.nakajima@xxxxxxxxx>, "george.dunlap@xxxxxxxxxxxxx" <george.dunlap@xxxxxxxxxxxxx>, "jinsong.liu@xxxxxxxxxxxxxxx" <jinsong.liu@xxxxxxxxxxxxxxx>, Dario Faggioli <dario.faggioli@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxx>, "stefano.stabellini@xxxxxxxxxx" <stefano.stabellini@xxxxxxxxxx>, "suravee.suthikulpanit@xxxxxxx" <suravee.suthikulpanit@xxxxxxx>, "andrew.cooper3@xxxxxxxxxx" <andrew.cooper3@xxxxxxxxxx>
- Delivery-date: Mon, 07 Mar 2016 11:23:23 +0000
- List-id: Xen developer discussion <xen-devel.lists.xen.org>
- Thread-index: AQHRdJCWHFa3XnoDdEqq7QFZDs085p9H4iAAgACveHD//+/PgIAApLnA//+mrQCABMdzYP//wXEAABDX9HA=
- Thread-topic: [PATCH v6 3/5] IOMMU: Make the pcidevs_lock a recursive one
On March 07, 2016 7:14pm, <JBeulich@xxxxxxxx> wrote:
> >>> On 07.03.16 at 08:05, <quan.xu@xxxxxxxxx> wrote:
> > A quick question, is it '-ERESTART', instead of '-EBUSY' ?
>
> No idea what this question is about in this context.
>
it is in xen/drivers/passthrough/pci.c, assign_device().
static int assign_device()
{
....
if ( !spin_trylock(&pcidevs_lock) )
return -ERESTART;
....
}
Quan
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|