[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: "Quan Xu" <quan.xu@xxxxxxxxx>
- From: "Jan Beulich" <JBeulich@xxxxxxxx>
- Date: Mon, 07 Mar 2016 04:36:06 -0700
- Cc: Kevin Tian <kevin.tian@xxxxxxxxx>, Feng Wu <feng.wu@xxxxxxxxx>, Jun Nakajima <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:36:18 +0000
- List-id: Xen developer discussion <xen-devel.lists.xen.org>
>>> On 07.03.16 at 12:23, <quan.xu@xxxxxxxxx> wrote:
> 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;
> ....
> }
But I still don't understand what you're trying to find out or point
out.
Jan
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|