Re: [PATCH 0/2] Paravirt loops per jiffy calculation
From: Avi Kivity <hidden>
Date: 2008-07-27 07:59:54
Glauber Costa wrote:
Hey, Over the last weeks, there has been some discussion regarding paravirt lpj calculation for kvm. Here's my shot at that. KVM hypervisor already put the right value in our pvclock structures, as part of the xen compatibility efforts. So the first patch moves the respective xen code to pvclock.c (since we'll be doing the same calculation anyway), while the second, implements functions for kvm that makes use of it. 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. Have a good (paravirtual) time!
I only have this email out of the patchset. Please resend. -- error compiling committee.c: too many arguments to function