scheduler fix
Linus,
Please pull the latest sched-urgent-for-linus git tree from:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched-urgent-for-linus
# HEAD: 346da4d2c7ea39de65487b249aaa4733317a40ec sched/cputime, proc/stat: Fix incorrect guest nice cpustat value
Fix the guest-nice cpustat values in /proc.
Thanks,
Ingo
------------------>
Flavio Leitner (1):
sched/cputime, proc/stat: Fix incorrect guest nice cpustat value
fs/proc/stat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
fs/proc/stat.c +2 -2
@@ -134,7 +134,7 @@ static int show_stat(struct seq_file *p, void *v) softirq += cpustat[CPUTIME_SOFTIRQ ]; steal += cpustat[CPUTIME_STEAL ]; guest += cpustat[CPUTIME_GUEST ]; - guest_nice += cpustat[CPUTIME_USER ]; + guest_nice += cpustat[CPUTIME_GUEST_NICE ]; sum +=kstat_cpu_irqs_sum (i); sum +=arch_irq_stat_cpu (i);
@@ -175,7 +175,7 @@ static int show_stat(struct seq_file *p, void *v) softirq = cpustat[CPUTIME_SOFTIRQ ]; steal = cpustat[CPUTIME_STEAL ]; guest = cpustat[CPUTIME_GUEST ]; - guest_nice = cpustat[CPUTIME_USER ]; + guest_nice = cpustat[CPUTIME_GUEST_NICE ];seq_printf (p,"cpu%d" , i);seq_put_decimal_ull (p," " ,nsec_to_clock_t (user));seq_put_decimal_ull (p," " ,nsec_to_clock_t (nice));
The pull request you sent on Tue, 17 Dec 2019 12:54:35 +0100:
The pull request you sent on Tue, 17 Dec 2019 12:54:35 +0100:
Quoted 1 line
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.gitsched-urgent-for-linus
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/4340ebd19ff031fd97a69ea7e7249c898f2d3e06
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.wiki.kernel.org/userdoc/prtracker