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] use tlsf for xmalloc engine

To: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>, "Xen-Devel (E-mail)" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] use tlsf for xmalloc engine
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Thu, 16 Oct 2008 11:11:41 +0100
Cc: Diwaker Gupta <dgupta@xxxxxxxxxxx>, Isaku Yamahata <yamahata@xxxxxxxxxxxxx>, Nitin Gupta <nitingupta910@xxxxxxxxx>, kurt.hackel@xxxxxxxxxx
Delivery-date: Thu, 16 Oct 2008 03:12:06 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <dc0361d9-5d91-41db-a669-1ac26c25121d@default>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Ackvd5VY050j/ptqEd28DQAX8io7RQ==
Thread-topic: [Xen-devel] [PATCH] use tlsf for xmalloc engine
User-agent: Microsoft-Entourage/11.4.0.080122
On 15/10/08 22:03, "Dan Magenheimer" <dan.magenheimer@xxxxxxxxxx> wrote:

> This patch replaces the Xen xmalloc engine with tlsf, an allocation
> engine that is both more space efficient and time-bounded, especially
> for allocation sizes between PAGE_SIZE/2 and PAGE_SIZE.
> 
> The file xmalloc.c is deprecated but not yet deleted.  A simple
> switch of a comment line in common/Makefile will change back
> to the legacy xmalloc/xfree if needed for testing.

Fixed for style, fixed to satisfy requested alignment parameter to
xmalloc(), and fixed for multi-page allocations to include the
BHDR_OVERHEAD. Checked in as c/s 18638.

 -- Keir



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

<Prev in Thread] Current Thread [Next in Thread>