diff options
author | Frederic Weisbecker <frederic@kernel.org> | 2019-10-16 04:56:49 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2019-10-29 10:01:11 +0100 |
commit | e6d5bf3e321ca664d12eb00ceb40bd58987ce8a1 (patch) | |
tree | dac16c335a2667a47011babbe0e6d50a8d30b4f2 /ipc/util.c | |
parent | sched/cputime: Add vtime idle task state (diff) | |
download | linux-e6d5bf3e321ca664d12eb00ceb40bd58987ce8a1.tar.xz linux-e6d5bf3e321ca664d12eb00ceb40bd58987ce8a1.zip |
sched/cputime: Add vtime guest task state
Record guest as a VTIME state instead of guessing it from VTIME_SYS and
PF_VCPU. This is going to simplify the cputime read side especially as
its state machine is going to further expand in order to fully support
kcpustat on nohz_full.
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Jacek Anaszewski <jacek.anaszewski@gmail.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Pavel Machek <pavel@ucw.cz>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Rafael J . Wysocki <rjw@rjwysocki.net>
Cc: Rik van Riel <riel@surriel.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Viresh Kumar <viresh.kumar@linaro.org>
Cc: Wanpeng Li <wanpengli@tencent.com>
Cc: Yauheni Kaliuta <yauheni.kaliuta@redhat.com>
Link: https://lkml.kernel.org/r/20191016025700.31277-4-frederic@kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'ipc/util.c')
0 files changed, 0 insertions, 0 deletions