Re: [PATCH -tip] sched, cpuacct: fix niced guest time accounting
From: Ingo Molnar
Date: Fri Oct 23 2009 - 07:19:55 EST
* Ryota Ozaki <ozaki.ryota@xxxxxxxxx> 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@xxxxxxxxxxxxxxx/msg23982.html
> http://www.mail-archive.com/kvm@xxxxxxxxxxxxxxx/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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/