[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v3 1/3] libxl/cpumap: Add xc_cpumap_[setcpu, clearcpu, testcpu] to complement xc_cpumap_alloc.



On Wed, 2015-03-25 at 11:01 +0000, Ian Campbell wrote:
> On Wed, 2015-03-25 at 08:47 +0000, Dario Faggioli wrote:

> > The only use case that deviates from that which I could find is:
> > 
> > xc_vcpu_setaffinity()
> >   |
> >   --> xc_hypercall_bounce_pre() ==
> >       xc__hypercall_bounce_pre()
> >         |
> >         --> xc__hypercall_buffer_alloc()
> >               |
> >               --> xc__hypercall_buffer_alloc_pages()
> >                     |
> >                     --> hypercall_buffer_cache_alloc() ||
> >                         linux_privcmd_alloc_hypercall_buffer() (or OS 
> > speific variants)
> > 
> > which is probably still fine, isn't it?
> 
> Might we use test_bit and friends on a hypercall buffer directly? I
> didn't expect so.
> 
Exactly. I also thought about this, but then did not put it down. That
is a usecase where we don't go though xc_cpumap_alloc(), but we
certainly don't do any of these operations in there right now, and most
likely never will, IMO.

Dario

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
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®.