From: David Mosberger-Tang <David.Mosberger@acm.org>
To: "Tian, Kevin" <kevin.tian@intel.com>
Cc: "Luck, Tony" <tony.luck@intel.com>,
Rusty Russell <rusty@rustcorp.com.au>,
Xen Mailing List <xen-devel@lists.xensource.com>,
Tony Breeds <tony@bakeyournoodle.com>,
djm@kirby.fc.hp.com, linux-ia64@vger.kernel.org
Subject: Re: [Xen-devel] __ia64__ ifdef in xmalloc.c: "Fix ar.unat handling forfast paths"
Date: Wed, 23 Nov 2005 16:30:59 +0000 [thread overview]
Message-ID: <ed5aea430511230830v68b02db6g2bd61996fe243a8a@mail.gmail.com> (raw)
In-Reply-To: <571ACEFD467F7749BC50E0A98C17CDD802C069E3@pdsmsx403>
On 11/22/05, Tian, Kevin <kevin.tian@intel.com> wrote:
> Now I think even '16' can't cover all cases. It's possible for a user defined structure with .align directive to force by '32' or larger, and then allocator happens to have similar check upon SMP_CACHE_BYTES like case in this thread. Because both structure definition and allocator may have no idea about IA64 trick of saving space for UP. Max alignment of any C style only solves the natural alignment case, but not above forced one. We can just give its real assumption to SMP_CACHE_BYTES - cache line size. ;-)
Not likely to be a problem. Memory allocators generally guarantee
only 16-byte alignment (as per ia64 software conventions).
--david
--
Mosberger Consulting LLC, voice/fax: 510-744-9372,
http://www.mosberger-consulting.com/
35706 Runckel Lane, Fremont, CA 94536
next prev parent reply other threads:[~2005-11-23 16:30 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1132548798.1478.7.camel@localhost.localdomain>
2005-11-22 4:44 ` [Xen-devel] __ia64__ ifdef in xmalloc.c: "Fix ar.unat handling forfast paths" Tian, Kevin
2005-11-22 16:11 ` Luck, Tony
2005-11-22 19:34 ` David Mosberger-Tang
2005-11-23 2:52 ` Tian, Kevin
2005-11-23 2:58 ` Tian, Kevin
2005-11-23 8:54 ` Keir Fraser
2005-11-23 16:30 ` David Mosberger-Tang [this message]
2005-11-23 15:07 ` Luck, Tony
2005-11-23 15:37 ` Keir Fraser
2005-11-23 23:22 ` [Xen-devel] __ia64__ ifdef in xmalloc.c: "Fix ar.unat handling Rusty Russell
2005-11-23 17:49 ` [Xen-devel] __ia64__ ifdef in xmalloc.c: "Fix ar.unat handling forfast paths" Magenheimer, Dan (HP Labs Fort Collins)
2005-11-24 7:01 ` Luck, Tony
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=ed5aea430511230830v68b02db6g2bd61996fe243a8a@mail.gmail.com \
--to=david.mosberger@acm.org \
--cc=djm@kirby.fc.hp.com \
--cc=kevin.tian@intel.com \
--cc=linux-ia64@vger.kernel.org \
--cc=rusty@rustcorp.com.au \
--cc=tony.luck@intel.com \
--cc=tony@bakeyournoodle.com \
--cc=xen-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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox