[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



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

 


Rackspace

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