From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric B Munson Subject: Re: [PATCH v3 5/9] KVM-HV: use schedstats to calculate steal time Date: Wed, 29 Jun 2011 17:56:42 -0400 Message-ID: <20110629215642.GD3557@mgebm.net> References: <1309361388-30163-1-git-send-email-glommer@redhat.com> <1309361388-30163-6-git-send-email-glommer@redhat.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VMt1DrMGOVs3KQwf" Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Rik van Riel , Jeremy Fitzhardinge , Peter Zijlstra , Avi Kivity , Anthony Liguori , Marcelo Tosatti To: Glauber Costa Return-path: Content-Disposition: inline In-Reply-To: <1309361388-30163-6-git-send-email-glommer@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org --VMt1DrMGOVs3KQwf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, 29 Jun 2011, Glauber Costa wrote: > SCHEDSTATS provide a precise source of information about time tasks > spent on a runqueue, but not running (among other things). It is > specially useful for the steal time implementation, because it doesn't > record halt time at all. >=20 > To avoid a hard dependency on schedstats, since it is possible one won't > want to record statistics about all processes running, the previous method > of time measurement on put/load vcpu is kept for !SCHEDSTATS. >=20 > Signed-off-by: Glauber Costa > CC: Rik van Riel > CC: Jeremy Fitzhardinge > CC: Peter Zijlstra > CC: Avi Kivity > CC: Anthony Liguori > CC: Eric B Munson > CC: Marcelo Tosatti Tested-by: Eric B Munson --VMt1DrMGOVs3KQwf Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQEcBAEBAgAGBQJOC5+aAAoJEH65iIruGRnNfRMIAKWSlVoHt3m1V/3SoT/KJ+Zi vwKn9Rz9UkY2p/XkqNu12Y0HuqSzTgHTql0xsZ1EpfBtudSDq+6QqP4ryMH/ulwH jLBKm/FLwK0/888lHoIjzOwnQzbuLcQdHjGjZ2rbjqtRstmy/jO50vu8faI3EDAq tycF1aUGwexzOGM0wWIaFylyunoEg89lpmlut6ieDpApCAHlyqRbftZgMubzM1yi HxTexqRvlBiPmmbnXPsAyZJOdFhZscWG6SCQs+STbGgmMY+YviendDnzwC5IXbf2 EU/EOINcicYSx1AxDfn0+EjMZrj7ReZFJI2fmNM2dRN1eZ7HL4W6LifctSJuTP0= =BFMH -----END PGP SIGNATURE----- --VMt1DrMGOVs3KQwf--