WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] BUG_ON test for xmalloc alignment should not be excluded

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] BUG_ON test for xmalloc alignment should not be excluded
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 23 Nov 2005 13:40:06 +0000
Delivery-date: Wed, 23 Nov 2005 13:40:18 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 6c252ba7a6396888723ba4a84755646e564b6cbb
# Parent  be41d7631c2ffebb3c35ce29a6b7c4ae01161ea1
BUG_ON test for xmalloc alignment should not be excluded
for ia64. SMP_CACHE_BYTES should be increased for uniproc
ia64 systems (how many uniproc ia64 boxes are there?!).

Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>

diff -r be41d7631c2f -r 6c252ba7a639 xen/common/xmalloc.c
--- a/xen/common/xmalloc.c      Wed Nov 23 11:11:05 2005
+++ b/xen/common/xmalloc.c      Wed Nov 23 11:22:58 2005
@@ -111,9 +111,7 @@
     unsigned long flags;
 
     /* We currently always return cacheline aligned. */
-#ifndef __ia64__
     BUG_ON(align > SMP_CACHE_BYTES);
-#endif
 
     /* Add room for header, pad to align next header. */
     size += sizeof(struct xmalloc_hdr);

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] BUG_ON test for xmalloc alignment should not be excluded, Xen patchbot -unstable <=