From: "Jan Beulich" Subject: Re: [PATCH v6 02/23] xen: move NUMA_NO_NODE to public memory.h as XEN_NUMA_NO_NODE Date: Mon, 02 Mar 2015 07:04:30 +0000 Message-ID: <54F40B7E02000078000C9AE2@mail.emea.novell.com> References: <1424966166-2388-1-git-send-email-wei.liu2@citrix.com> <1424966166-2388-3-git-send-email-wei.liu2@citrix.com> <54F0AC920200007800064BFB@mail.emea.novell.com> <20150227165139.GF29195@zion.uk.xensource.com> <54F0A0DA.8020809@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <54F0A0DA.8020809@citrix.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: andrew.cooper3@citrix.com, wei.liu2@citrix.com Cc: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org >>> Andrew Cooper 02/27/15 5:58 PM >>> >On 27/02/15 16:51, Wei Liu wrote: >> During last round review, Andrew wanted me to move this to Xen public >> header to avoid reinventing it in libxc. Now this value is used in libxc >> patch. >> >> But I don't particularly mind whether we move it or not, it's up to you >> maintainers to decide. > >It is a sentinel value used in the public ABI. It should therefore >appear in the public API. Which it already does, as XENMEMF_get_node(0). I don't think it needs particular naming as a new constant, even more that it isn't intended to be used explicitly in any of the memops. Jan