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-devel

RE: [Xen-devel] [PATCH 1/3] Typesafe allocators

To: "Rusty Russell" <rusty@xxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH 1/3] Typesafe allocators
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Thu, 3 Feb 2005 09:13:46 -0000
Cc: "Xen Mailing List" <xen-devel@xxxxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 03 Feb 2005 09:16:00 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
Thread-index: AcUJzm8WtTszH7GPR8OLTmnwWpBV1wAAWbqg
Thread-topic: [Xen-devel] [PATCH 1/3] Typesafe allocators
> On Wed, 2005-02-02 at 11:31 +0000, Ian Pratt wrote:
> > Can we just keep the xmalloc name but make it type safe, and add
> > xmalloc_array?
> 
> OK, patch below against last bk snapshot.
> 
> Changes:
> 1) Keep xmalloc name for typesafe allocator, add __xmalloc.
> 2) Explicit alignment arg, current implementation always cacheline
> aligns.
> 3) container_of() not needed, so not introduced.
> 
> Tested again in userspace, hope this one boots for Ian (should, since
> there's already a correct alignment declaration on struct i387_state).

With various mailing list delays and the lagged nature of the BK
snapshot I think we're out of sync -- we already have most of the patch.
Please could you make sure you have a snapshot after this checkin:
"ChangeSet@xxxxxx  2005-02-02 23:14:59+00:00  kaf24@xxxxxxxxxxxx".

Thanks,
Ian


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel