All of lore.kernel.org
 help / color / mirror / Atom feed
From: Markus Armbruster <armbru@redhat.com>
To: Anthony Liguori <aliguori@us.ibm.com>
Cc: Muli Ben-Yehuda <muli@il.ibm.com>,
	xen-devel <xen-devel@lists.xensource.com>,
	Hollis Blanchard <hollisb@us.ibm.com>,
	Ian Campbell <Ian.Campbell@XenSource.com>,
	John Levon <levon@movementarian.org>,
	xen-ppc-devel@lists.xensource.com
Subject: Re: [patch] [3/3] dom0_ops explicitly sized types
Date: Fri, 26 May 2006 20:21:23 +0200	[thread overview]
Message-ID: <87ac944pgc.fsf@pike.pond.sub.org> (raw)
In-Reply-To: <44773BB3.1020103@us.ibm.com> (Anthony Liguori's message of "Fri, 26 May 2006 12:32:35 -0500")

Anthony Liguori <aliguori@us.ibm.com> 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.

  reply	other threads:[~2006-05-26 18:21 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1148509900.26460.22.camel@basalt.austin.ibm.com>
2006-05-24 23:08 ` [patch] [1/3] global build configuration file Hollis Blanchard
2006-05-25 16:28   ` [XenPPC] " Hollis Blanchard
     [not found] ` <1148511175.26460.35.camel@basalt.austin.ibm.com>
     [not found]   ` <1148511400.26460.39.camel@basalt.austin.ibm.com>
2006-05-24 23:04     ` [patch] [3/3] dom0_ops explicitly sized types Hollis Blanchard
2006-05-25 15:39       ` Muli Ben-Yehuda
2006-05-25 19:02         ` Hollis Blanchard
2006-05-26 13:32           ` Muli Ben-Yehuda
2006-05-26 14:28             ` Ian Campbell
2006-05-26 15:30               ` Hollis Blanchard
2006-05-26 16:27                 ` Ian Campbell
2006-05-26 17:32                   ` Anthony Liguori
2006-05-26 18:21                     ` Markus Armbruster [this message]
2006-05-26 17:37                   ` Hollis Blanchard
2006-05-26 18:57                     ` Chris Wright
2006-05-26 19:38                       ` John Levon
2006-05-26 19:57                         ` Chris Wright
2006-05-27  0:42                           ` John Levon
2006-05-24 23:09   ` [patch] [2/3] use new 'xen_pfn_t' type to represent PFNs in the Xen ABI Hollis Blanchard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ac944pgc.fsf@pike.pond.sub.org \
    --to=armbru@redhat.com \
    --cc=Ian.Campbell@XenSource.com \
    --cc=aliguori@us.ibm.com \
    --cc=hollisb@us.ibm.com \
    --cc=levon@movementarian.org \
    --cc=muli@il.ibm.com \
    --cc=xen-devel@lists.xensource.com \
    --cc=xen-ppc-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.