13 messages in com.xensource.lists.xen-develRE: [Xen-devel] __ia64__ ifdef in xma...| From | Sent On | Attachments |
|---|---|---|
| Rusty Russell | 20 Nov 2005 20:52 | |
| Tian, Kevin | 21 Nov 2005 20:44 | |
| Luck, Tony | 22 Nov 2005 08:10 | |
| David Mosberger-Tang | 22 Nov 2005 11:33 | |
| Tian, Kevin | 22 Nov 2005 18:52 | |
| Tian, Kevin | 22 Nov 2005 18:57 | |
| Keir Fraser | 23 Nov 2005 00:54 | |
| Luck, Tony | 23 Nov 2005 07:07 | |
| Keir Fraser | 23 Nov 2005 07:36 | |
| David Mosberger-Tang | 23 Nov 2005 08:30 | |
| Magenheimer, Dan (HP Labs Fort Collins) | 23 Nov 2005 09:48 | |
| Rusty Russell | 23 Nov 2005 15:22 | |
| Luck, Tony | 23 Nov 2005 23:00 |
| Subject: | RE: [Xen-devel] __ia64__ ifdef in xmalloc.c: "Fix ar.unat handling forfast paths"![]() |
|---|---|
| From: | Magenheimer, Dan (HP Labs Fort Collins) (dan....@hp.com) |
| Date: | 11/23/2005 09:48:43 AM |
| List: | com.xensource.lists.xen-devel |
Subject: RE: [Xen-devel] __ia64__ ifdef in xmalloc.c: "Fix ar.unat handling forfast paths"
It's not hard to support arbitrary alignment, at the cost of burning some space. We should probably do that.
The "we" in that last sentence is the Xen team ... referring to making fixes to xmalloc?
-Tony
Since this thread is cross-posted to two lists neither one of which is xen-ia64-devel, a short explanation might be in order:
Since there a fair overlap of functionality, Xen/ia64 heavily leverages Linux and Linux/ia64 code. About 120 .c/.h files are 100% reused from linux-2.6.13 and another 36 files are reused but require small patches (total of ~120 chunks, mostly 1-2 line diffs). The leveraged files are periodically updated to use the latest version of linux (started with 2.6.7, then 2.6.9, now 2.6.13); this allows Xen/ia64 to easily pick up new functionality and bug fixes from Linux/ia64 without reinventing the wheel.
HOWEVER, one disadvantage is that some bugs in Linux get inherited by Xen/ia64. As Tony previously noted, Linux/ia64 makes some assumptions about SMP_CACHE_BYTES which are not adhered to throughout Linux. Xen apparently does not adhere to those assumptions either. Xen/ia64 will need to add another patch to the (previously unchanged) file linux/include/asm-ia64/cache.h. Presumably this should be fixed in Linux/ia64 as well and the file will be resynced in the future.
Hope that helps!
Dan
_______________________________________________ Xen-devel mailing list Xen-...@lists.xensource.com http://lists.xensource.com/xen-devel




