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

[Xen-devel] [RFC][PATCH] add tlsf option for xmalloc

To: "Xen-Devel (E-mail)" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [RFC][PATCH] add tlsf option for xmalloc
From: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>
Date: Wed, 15 Oct 2008 10:47:31 -0700 (PDT)
Cc: Nitin Gupta <nitingupta910@xxxxxxxxx>
Delivery-date: Wed, 15 Oct 2008 10:48:21 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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
This patch is a first step for replacing the current xmalloc
engine with a tlsf-based engine.  The first patch simply adds
Nitin Gupta's current tlsf-kmod files to Xen and the second
modifies them (and xmalloc) to adapt them to work with Xen.

The tlsf engine can be turned on (and then overrides the xmalloc
engine) with a Xen boot option of "tlsf".  This defaults to off,
so the patch should have no effect without the boot option.

Note that this is compile-tested but not run tested yet.  I
thought I'd get feedback on the approach before I get much
further.

Thanks,
Dan

Attachment: tlsf_orig.patch
Description: Binary data

Attachment: tlsf_adapt.patch
Description: Binary data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>