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][cpufreq] Xen support for the ondemandgovernor [2

To: "Tian, Kevin" <kevin.tian@xxxxxxxxx>, "Mark Langsdorf" <mark.langsdorf@xxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH][cpufreq] Xen support for the ondemandgovernor [2/2] (linux)
From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
Date: Wed, 24 Oct 2007 11:23:04 +0800
Delivery-date: Tue, 23 Oct 2007 20:23:44 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <D470B4E54465E3469E2ABBC5AFAC390F013B2404@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <200710231700.23636.mark.langsdorf@xxxxxxx> <D470B4E54465E3469E2ABBC5AFAC390F013B2404@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcgVv9cXtl6BrQgwRdiD9pSQKpVxAAAK0fkwAAB2RWA=
Thread-topic: [Xen-devel] [PATCH][cpufreq] Xen support for the ondemandgovernor [2/2] (linux)
>From: Tian, Kevin
>Sent: 2007年10月24日 11:19
>>+             load = max(load, min(100, (int) tmp_load));
>
>I suppose 'min' here instead of 'max'. and then init value of load is set
>to ~0...
>

Oh, forgive my mindless comment, and yours are correct indeed. :-)

Thanks,
Kevin

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

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