public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Keir Fraser <Keir.Fraser@cl.cam.ac.uk>
To: "Tian, Kevin" <kevin.tian@intel.com>
Cc: "Luck, Tony" <tony.luck@intel.com>,
	linux-ia64@vger.kernel.org, Rusty Russell <rusty@rustcorp.com.au>,
	Tony Breeds <tony@bakeyournoodle.com>,
	djm@kirby.fc.hp.com,
	Xen Mailing List <xen-devel@lists.xensource.com>,
	David Mosberger-Tang <David.Mosberger@acm.org>
Subject: Re: [Xen-devel] __ia64__ ifdef in xmalloc.c: "Fix ar.unat handling forfast paths"
Date: Wed, 23 Nov 2005 08:54:46 +0000	[thread overview]
Message-ID: <a2a560aa9aa53494165df9ccdb7d8d4e@cl.cam.ac.uk> (raw)
In-Reply-To: <571ACEFD467F7749BC50E0A98C17CDD802C069E3@pdsmsx403>


On 23 Nov 2005, at 02:58, Tian, Kevin 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. ;-)

It's not hard to support arbitrary alignment, at the cost of burning 
some space. We should probably do that.

  -- Keir


  reply	other threads:[~2005-11-23  8:54 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 [this message]
2005-11-23 16:30     ` David Mosberger-Tang
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=a2a560aa9aa53494165df9ccdb7d8d4e@cl.cam.ac.uk \
    --to=keir.fraser@cl.cam.ac.uk \
    --cc=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