From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gerd Hoffmann Subject: Re: [PATCH 0/2] Paravirt loops per jiffy calculation Date: Wed, 23 Jul 2008 12:07:43 +0200 Message-ID: <488702EF.7060305@redhat.com> References: <1216743328-3213-1-git-send-email-gcosta@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org, aliguori@codemonkey.ws, virtualization@lists.linux-foundation.org To: Glauber Costa Return-path: Received: from mx1.redhat.com ([66.187.233.31]:59642 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751263AbYGWKHx (ORCPT ); Wed, 23 Jul 2008 06:07:53 -0400 In-Reply-To: <1216743328-3213-1-git-send-email-gcosta@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: Hi, > Turns out that only implementing a pv get_tsc_khz is not enough, since > it will only do the right thing for cpu0, which is not what we desire. > > So we set preset_lpj. Recall this code is run before arch parameter setup, > so if we pass lpj=xx in the command line, it'll still work. Hmm, why kvm needs the preset_lpj thing and xen doesn't? cheers, Gerd -- http://kraxel.fedorapeople.org/xenner/