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 3/3] Replace slab.c with a very simpleallocator.

To: <ultraptr@xxxxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH 3/3] Replace slab.c with a very simpleallocator.
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Thu, 3 Feb 2005 22:22:37 -0000
Cc: "Rusty Russell" <rusty@xxxxxxxxxxxxxxx>, "Ian Pratt" <Ian.Pratt@xxxxxxxxxxxx>, "Xen Mailing List" <xen-devel@xxxxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 03 Feb 2005 22:25:11 +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: AcUKMpUHXM8bd0B7QD6Sm8wAcnwq/QACxkyg
Thread-topic: [Xen-devel] [PATCH 3/3] Replace slab.c with a very simpleallocator.
> I wonder what are reasons for this replacement. From outside 
> it looks like
> proven and fast slab allocator is being replaced with slow 
> and new one just for sake of size and beauty of source codes?

The other way of looking at this is we'd be reaplacing an allocator that
almost no-one understands with one that's simple and we can easily be
evolved as required. It's also rather easier to "verify" its
correctness. 

Since the only dynamic allocation Xen does is on domain creation, we
really don't need anything too clever.

I can see your point of view, but asthetics often turn out to be
important when it comes to maintenance.

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