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] [RFC][PATCH] add tlsf option for xmalloc

To: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>, "Xen-Devel (E-mail)" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [RFC][PATCH] add tlsf option for xmalloc
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Wed, 15 Oct 2008 21:06:27 +0100
Cc: Nitin Gupta <nitingupta910@xxxxxxxxx>
Delivery-date: Wed, 15 Oct 2008 13:07:03 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <b390a82d-399e-4407-8461-c96ae79097f7@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: AckvAYFyv+qIppr0Ed2JPwAWy6hiGQ==
Thread-topic: [Xen-devel] [RFC][PATCH] add tlsf option for xmalloc
User-agent: Microsoft-Entourage/11.4.0.080122


On 15/10/08 20:59, "Dan Magenheimer" <dan.magenheimer@xxxxxxxxxx> wrote:

>> Structure definitions and the like which are private to TLSF
>> should live at
>> the top of the .c file: I prefer that to the <xen/*_int.h>
>> approach as it
>> keeps private non-shared stuff all in one place.
> 
> Sounds good.
> 
> You may note that the tlsf files borrowed from Nitin Gupta use Linux-style
> indentation/formatting.  One of my reasons for not merging the tlsf
> allocation with xmalloc is I was too lazy to reformat ;-)  Do I need
> to do that or can I leave it as is or do you have a tool that will
> auto-reformat it to meet the Xen style requirements?

If the patch is actually working fine then I can take it and do the
necessary reformatting. It only takes a short while even to do it manually.

You need to provide a signed-off-by line, by the way.

 -- Keir



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

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