]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
sched/cputime, proc/stat: Fix incorrect guest nice cpustat value
authorFlavio Leitner <fbl@sysclose.org>
Thu, 5 Dec 2019 02:03:44 +0000 (03:03 +0100)
committerIngo Molnar <mingo@kernel.org>
Wed, 11 Dec 2019 06:09:58 +0000 (07:09 +0100)
commit346da4d2c7ea39de65487b249aaa4733317a40ec
treec31ee70d65cf43a7c2c262e4bbee990a9e298d65
parent6794862a16ef41f753abd75c03a152836e4c8028
sched/cputime, proc/stat: Fix incorrect guest nice cpustat value

The value being used for guest_nice should be CPUTIME_GUEST_NICE
and not CPUTIME_USER.

Fixes: 26dae145a76c ("procfs: Use all-in-one vtime aware kcpustat accessor")
Signed-off-by: Flavio Leitner <fbl@sysclose.org>
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20191205020344.14940-1-frederic@kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
fs/proc/stat.c