13 messages in com.xensource.lists.xen-develRe: [Xen-devel] __ia64__ ifdef in xma...
FromSent OnAttachments
Rusty Russell20 Nov 2005 20:52 
Tian, Kevin21 Nov 2005 20:44 
Luck, Tony22 Nov 2005 08:10 
David Mosberger-Tang22 Nov 2005 11:33 
Tian, Kevin22 Nov 2005 18:52 
Tian, Kevin22 Nov 2005 18:57 
Keir Fraser23 Nov 2005 00:54 
Luck, Tony23 Nov 2005 07:07 
Keir Fraser23 Nov 2005 07:36 
David Mosberger-Tang23 Nov 2005 08:30 
Magenheimer, Dan (HP Labs Fort Collins)23 Nov 2005 09:48 
Rusty Russell23 Nov 2005 15:22 
Luck, Tony23 Nov 2005 23:00 
Subject:Re: [Xen-devel] __ia64__ ifdef in xmalloc.c: "Fix ar.unat handling forfast paths"
From:David Mosberger-Tang (Davi@acm.org)
Date:11/23/2005 08:30:37 AM
List:com.xensource.lists.xen-devel

On 11/22/05, Tian, Kevin <kevi@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