procfs: Use all-in-one vtime aware kcpustat accessor
authorFrederic Weisbecker <frederic@kernel.org>
Thu, 21 Nov 2019 02:44:27 +0000 (03:44 +0100)
committerIngo Molnar <mingo@kernel.org>
Thu, 21 Nov 2019 06:33:24 +0000 (07:33 +0100)
commit26dae145a76c3615588f263885904c6e567ff116
treec21d0cb05b9bc8583955f70a23e6cdb05b2d55b1
parent74722bb223d0f236303b60c9509ff924a9713780
procfs: Use all-in-one vtime aware kcpustat accessor

Now that we can read also user and guest time safely under vtime, use
the relevant accessor to fix frozen kcpustat values on nohz_full CPUs.

Reported-by: Yauheni Kaliuta <yauheni.kaliuta@redhat.com>
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Wanpeng Li <wanpengli@tencent.com>
Link: https://lkml.kernel.org/r/20191121024430.19938-4-frederic@kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
fs/proc/stat.c