x86/vmware: Enable steal time accounting
authorAlexey Makhalov <amakhalov@vmware.com>
Mon, 23 Mar 2020 19:57:06 +0000 (19:57 +0000)
committerBorislav Petkov <bp@suse.de>
Tue, 24 Mar 2020 09:06:27 +0000 (10:06 +0100)
commite73a8f38f82dd1c41b70a06556bea7dc250cc384
tree68b53dcbde74788f222451c5dc27ca96b9209c4b
parentab02bb3f55f58e7608a88188000c3353398ebe3b
x86/vmware: Enable steal time accounting

Set paravirt_steal_rq_enabled if steal clock present.
paravirt_steal_rq_enabled is used in sched/core.c to adjust task
progress by offsetting stolen time. Use 'no-steal-acc' off switch (share
same name with KVM) to disable steal time accounting.

Signed-off-by: Alexey Makhalov <amakhalov@vmware.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20200323195707.31242-5-amakhalov@vmware.com
Documentation/admin-guide/kernel-parameters.txt
arch/x86/kernel/cpu/vmware.c