]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
xen: add steal_clock support on x86
authorJuergen Gross <jgross@suse.com>
Fri, 20 May 2016 07:26:48 +0000 (09:26 +0200)
committerDavid Vrabel <david.vrabel@citrix.com>
Wed, 6 Jul 2016 09:34:48 +0000 (10:34 +0100)
commitecb23dc6f2eff0ce64dd60351a81f376f13b12cc
tree09536e5db2dc00af9dd5209fef72a1e1222f6cf2
parentc7ebf9d9c6b4e9402b978da0b0785db4129c1f79
xen: add steal_clock support on x86

The pv_time_ops structure contains a function pointer for the
"steal_clock" functionality used only by KVM and Xen on ARM. Xen on x86
uses its own mechanism to account for the "stolen" time a thread wasn't
able to run due to hypervisor scheduling.

Add support in Xen arch independent time handling for this feature by
moving it out of the arm arch into drivers/xen and remove the x86 Xen
hack.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
arch/arm/xen/enlighten.c
arch/x86/xen/time.c
drivers/xen/time.c
include/linux/kernel_stat.h
include/xen/xen-ops.h
kernel/sched/cputime.c