From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] qemu-kvm: response to SIGUSR1 to start/stop a VCPU (v2) Date: Thu, 02 Dec 2010 14:42:30 +0200 Message-ID: <4CF79436.5040604@redhat.com> References: <4CED1FD3.1000801@redhat.com> <20101201123742.GA3780@linux.vnet.ibm.com> <4CF6460C.5070604@redhat.com> <20101201161221.GA8073@linux.vnet.ibm.com> <1291220718.32004.1696.camel@laptop> <20101201172953.GF8073@linux.vnet.ibm.com> <1291225502.32004.1787.camel@laptop> <20101201180040.GH8073@linux.vnet.ibm.com> <1291230582.32004.1927.camel@laptop> <4CF76440.30500@redhat.com> <20101202121945.GA22268@linux.vnet.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Peter Zijlstra , Anthony Liguori , qemu-devel@nongnu.org, kvm@vger.kernel.org, Chris Wright , Ingo Molnar , Mike Galbraith To: vatsa@linux.vnet.ibm.com Return-path: Received: from mx1.redhat.com ([209.132.183.28]:31183 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757253Ab0LBMnE (ORCPT ); Thu, 2 Dec 2010 07:43:04 -0500 In-Reply-To: <20101202121945.GA22268@linux.vnet.ibm.com> Sender: kvm-owner@vger.kernel.org List-ID: On 12/02/2010 02:19 PM, Srivatsa Vaddagiri wrote: > On Thu, Dec 02, 2010 at 11:17:52AM +0200, Avi Kivity wrote: > > What I'd like to see in directed yield is donating exactly the > > amount of vruntime that's needed to make the target thread run. The > > How would that work well with hard-limits? The target thread would have been > rate limited and no amount of vruntime donation would make it work > "immediately" .. At least it would stop the donator from running. -- error compiling committee.c: too many arguments to function