From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dario Faggioli Subject: Re: [PATCH v3 1/3] libxl/cpumap: Add xc_cpumap_[setcpu, clearcpu, testcpu] to complement xc_cpumap_alloc. Date: Wed, 25 Mar 2015 11:16:06 +0000 Message-ID: <1427282165.2560.275.camel@citrix.com> References: <1427211559-15185-1-git-send-email-konrad.wilk@oracle.com> <1427211559-15185-2-git-send-email-konrad.wilk@oracle.com> <1427219164.10784.7.camel@citrix.com> <1427273263.2560.227.camel@citrix.com> <1427281279.10784.61.camel@citrix.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5524787130991965412==" Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YajIA-0006j1-0E for xen-devel@lists.xenproject.org; Wed, 25 Mar 2015 11:16:10 +0000 In-Reply-To: <1427281279.10784.61.camel@citrix.com> Content-Language: en-US List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: "xen-devel@lists.xenproject.org" , George Dunlap List-Id: xen-devel@lists.xenproject.org --===============5524787130991965412== Content-Language: en-US Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-FAb92+ez3uGVe+Kne5i9" --=-FAb92+ez3uGVe+Kne5i9 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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: > >=20 > > xc_vcpu_setaffinity() > > | > > --> xc_hypercall_bounce_pre() =3D=3D > > xc__hypercall_bounce_pre() > > | > > --> xc__hypercall_buffer_alloc() > > | > > --> xc__hypercall_buffer_alloc_pages() > > | > > --> hypercall_buffer_cache_alloc() || > > linux_privcmd_alloc_hypercall_buffer() (or OS s= peific variants) > >=20 > > which is probably still fine, isn't it? >=20 > Might we use test_bit and friends on a hypercall buffer directly? I > didn't expect so. >=20 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 --=-FAb92+ez3uGVe+Kne5i9 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEABECAAYFAlUSmPUACgkQk4XaBE3IOsQ3XwCgigClZLelQmCd/v/GmsmF53cl rX0AmwRqmbWDMqVie9w3aNx0pmTBeP4x =RuEo -----END PGP SIGNATURE----- --=-FAb92+ez3uGVe+Kne5i9-- --===============5524787130991965412== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============5524787130991965412==--