From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ingo Molnar Subject: Re: [PATCH -tip] sched, cpuacct: fix niced guest time accounting Date: Fri, 23 Oct 2009 13:19:20 +0200 Message-ID: <20091023111920.GA5886@elte.hu> References: <5e93dcec0910200800q2e156fd3v324632efcf136f5e@mail.gmail.com> <4AE02A1B.6020700@redhat.com> <5e93dcec0910220512x50788f59u56e6493778093c7@mail.gmail.com> <5e93dcec0910220836x7f798d45w299129e0c80ed5d1@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Linux Kernel Mailing List , Ingo Molnar , Avi Kivity , KVM ML , Peter Zijlstra To: Ryota Ozaki Return-path: Content-Disposition: inline In-Reply-To: <5e93dcec0910220836x7f798d45w299129e0c80ed5d1@mail.gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org * Ryota Ozaki wrote: > Hi list, > (CC: Ingo and Avi) > > CPU time of a guest is always accounted in 'user' time > without concern for the nice value of its counterpart > process although the guest is scheduled under the nice > value. > > This patch fixes the defect and accounts cpu time of > a niced guest in 'nice' time as same as a niced process. > > And also the patch adds 'guest_nice' to cpuacct. The > value provides niced guest cpu time which is like 'nice' > to 'user'. > > This patch has already reviewed and acked by Avi on KVM ML. > > The original discussions can be found here. > http://www.mail-archive.com/kvm@vger.kernel.org/msg23982.html > http://www.mail-archive.com/kvm@vger.kernel.org/msg23860.html your patch is line-wrapped and does not apply (possibly due to more whitespace damage). Please consult Documentation/email-clients.txt and send a patch against latest -tip : http://people.redhat.com/mingo/tip.git/README Thanks, Ingo