From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=53876 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1POBLi-0005xo-KT for qemu-devel@nongnu.org; Thu, 02 Dec 2010 10:46:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1POBL1-0007Yz-1a for qemu-devel@nongnu.org; Thu, 02 Dec 2010 10:45:34 -0500 Received: from e31.co.us.ibm.com ([32.97.110.149]:41227) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1POBL0-0007YR-Qh for qemu-devel@nongnu.org; Thu, 02 Dec 2010 10:44:50 -0500 Received: from d03relay04.boulder.ibm.com (d03relay04.boulder.ibm.com [9.17.195.106]) by e31.co.us.ibm.com (8.14.4/8.13.1) with ESMTP id oB2FVMZS022744 for ; Thu, 2 Dec 2010 08:31:22 -0700 Received: from d03av02.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.195.168]) by d03relay04.boulder.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id oB2FifW8116218 for ; Thu, 2 Dec 2010 08:44:45 -0700 Received: from d03av02.boulder.ibm.com (loopback [127.0.0.1]) by d03av02.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id oB2FieLQ020038 for ; Thu, 2 Dec 2010 08:44:41 -0700 Date: Thu, 2 Dec 2010 21:14:38 +0530 From: Srivatsa Vaddagiri Message-ID: <20101202154437.GD16411@linux.vnet.ibm.com> References: <1291225502.32004.1787.camel@laptop> <20101201180040.GH8073@linux.vnet.ibm.com> <1291230582.32004.1927.camel@laptop> <4CF76440.30500@redhat.com> <20101202114700.GA18445@linux.vnet.ibm.com> <4CF793FF.4010504@redhat.com> <20101202131312.GC18445@linux.vnet.ibm.com> <4CF7A3F8.1010802@redhat.com> <20101202152716.GA16411@linux.vnet.ibm.com> <4CF7BC54.2080909@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4CF7BC54.2080909@redhat.com> Subject: [Qemu-devel] Re: [PATCH] qemu-kvm: response to SIGUSR1 to start/stop a VCPU (v2) Reply-To: vatsa@linux.vnet.ibm.com List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: Peter Zijlstra , kvm@vger.kernel.org, Mike Galbraith , qemu-devel@nongnu.org, Chris Wright , Anthony Liguori On Thu, Dec 02, 2010 at 05:33:40PM +0200, Avi Kivity wrote: > A0 and A1's vruntime will keep growing, eventually B will become > leftmost and become runnable (assuming leftmost == min vruntime, not > sure what the terminology is). Donation (in directed yield) will cause vruntime to drop as well (thats the only way target can get to run ahead of its scheduled time), so I still think there are nasty issues involved here. Anyway, I am curious to see the directed yield implementation that Rik has - I can comment more after I have seen that! - vatsa