From: Markus Armbruster Subject: Re: [patch] [3/3] dom0_ops explicitly sized types Date: Fri, 26 May 2006 20:21:23 +0200 Message-ID: <87ac944pgc.fsf@pike.pond.sub.org> References: <1148509900.26460.22.camel@basalt.austin.ibm.com> <1148511175.26460.35.camel@basalt.austin.ibm.com> <1148511400.26460.39.camel@basalt.austin.ibm.com> <1148511874.26460.47.camel@basalt.austin.ibm.com> <20060525153957.GO6710@rhun.ibm.com> <1148583731.15517.16.camel@basalt.austin.ibm.com> <20060526133221.GA5569@rhun.e-centre.net> <1148653733.24768.49.camel@localhost.localdomain> <1148657437.26643.5.camel@basalt.austin.ibm.com> <1148660853.24768.97.camel@localhost.localdomain> <44773BB3.1020103@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: In-Reply-To: <44773BB3.1020103@us.ibm.com> (Anthony Liguori's message of "Fri, 26 May 2006 12:32:35 -0500") List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Anthony Liguori Cc: Muli Ben-Yehuda , xen-devel , Hollis Blanchard , Ian Campbell , John Levon , xen-ppc-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Anthony Liguori writes: > Ian Campbell wrote: >>> If you use __u64, you'd need to include some header defining what __u64 >>> is, so you're requiring another header anyways. You might as well use >>> the standard stdint.h rather than inventing your own. >>> >> >> As I understand it the issue is that the C spec makes the __* namespace >> available for the kernel to pollute and reserves the non-prefixed >> namespace for application usage. (Single underscore is for compiler or >> libc internals or something). >> > > The relevant portions of the spec are: [...] > It's pretty clear that __* names are reserved. The kernel is wrong > here. The best explanation I've gotten is "egocentrism" :-) Reserved for what? The `implementation'. Which is the combination of compiler, libc and whatever kernel headers libc lets through. How these guys divvy up their reserved name space is up to them, and we better play by their rules.