All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jimi Xenidis <jimix@watson.ibm.com>
To: Keir Fraser <Keir.Fraser@cl.cam.ac.uk>
Cc: xen-devel@lists.sourceforge.net, "Ronald G. Minnich" <rminnich@lanl.gov>
Subject: Re: RFC: 32 bits as smallest atomic size.
Date: Sat, 26 Mar 2005 13:46:46 -0500	[thread overview]
Message-ID: <16965.44566.720427.951230@kitch0.watson.ibm.com> (raw)
In-Reply-To: <2330d67d198017769ff97ec4a548dcf2@cl.cam.ac.uk>

>>>>> "KF" == Keir Fraser <Keir.Fraser@cl.cam.ac.uk> writes:

 KF> On 26 Mar 2005, at 17:49, Keir Fraser wrote:

 KF> Actually, one of the more interesting thing to discuss imo is how to 
 KF> structure the public interface headers to support multiple 
 KF> architectures. Is it feasible to strive for much commonality, or should 
 KF> each arch have its own public headers, or what? I don't have a good 
 KF> feel for what the best solution is going to be...

Considering that on PPC we'll be trying to support domains of several
different ABIs (ELF, XCOFF and MachO) not to mention 32 bit apps on
64bit machines, we are extremely sensitive (and sympathetic) to your
goals.

On x86 you have Windows, and their (intentionally) incompatible 64 bit
ABI :(

The current use of specific sized types is good for this goal.
Typically, defining these data structures with a member order that
removes padding, or padding explicitly to disambiguate structure
layout, is a good strategy (-Wpadded can help here).

I think we will disable PACKED on PPC and see how that goes, as we
detect padded areas we will submit patches that may shuffle structure
members to achieve the above goals.

WRT to subword accesses, we will continue to eveluate them and
generate some patches for your approval, rather than attempt to
shuffle bits around at runtime.

-JX


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

  reply	other threads:[~2005-03-26 18:46 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-25 21:25 RFC: 32 bits as smallest atomic size Jimi Xenidis
2005-03-25 21:30 ` Ronald G. Minnich
2005-03-25 21:43 ` Keir Fraser
2005-03-25 23:49   ` Jimi Xenidis
2005-03-26  0:02     ` Keir Fraser
2005-03-26 14:13       ` Jimi Xenidis
2005-03-26 17:07         ` Keir Fraser
2005-03-29 20:16           ` Kurt Garloff
2005-03-26 17:36         ` Ronald G. Minnich
2005-03-26 17:29     ` Ronald G. Minnich
2005-03-26 17:31       ` Jimi Xenidis
2005-03-26 17:49         ` Keir Fraser
2005-03-26 17:56           ` Keir Fraser
2005-03-26 18:46             ` Jimi Xenidis [this message]
2005-03-27  3:34             ` Ronald G. Minnich
2005-03-27 10:56               ` Keir Fraser
2005-03-27 11:19                 ` Keir Fraser
2005-03-28 15:37                   ` Ronald G. Minnich
2005-03-28 15:34                 ` Ronald G. Minnich
2005-03-27  0:27           ` David Hopwood
2005-03-27 10:49             ` Keir Fraser
2005-03-27 15:39               ` David Hopwood
2005-03-29 21:39   ` Hollis Blanchard
  -- strict thread matches above, loose matches on Subject: below --
2005-03-29 22:00 Ian Pratt
2005-03-29 22:32 ` Hollis Blanchard
2005-03-30  3:24 ` Jimi Xenidis

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=16965.44566.720427.951230@kitch0.watson.ibm.com \
    --to=jimix@watson.ibm.com \
    --cc=Keir.Fraser@cl.cam.ac.uk \
    --cc=rminnich@lanl.gov \
    --cc=xen-devel@lists.sourceforge.net \
    /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.