]> git.baikalelectronics.ru Git - kernel.git/commit
x86/xen: prefer TSC over xen clocksource for dom0
authorPalik, Imre <imrep@amazon.de>
Tue, 13 Jan 2015 08:14:22 +0000 (09:14 +0100)
committerDavid Vrabel <david.vrabel@citrix.com>
Tue, 20 Jan 2015 18:44:24 +0000 (18:44 +0000)
commitb6340e6c4cd95fa5535b709bbc3d370120287dc4
tree05fbe0a0606ab1490e1af197c5f1947a99c5421d
parent4e71235ebbbf01417e55f3a6e8173c7e2d1186cb
x86/xen: prefer TSC over xen clocksource for dom0

In Dom0's the use of the TSC clocksource (whenever it is stable enough to
be used) instead of the Xen clocksource should not cause any issues, as
Dom0 VMs never live-migrated.  The TSC clocksource is somewhat more
efficient than the Xen paravirtualised clocksource, thus it should have
higher rating.

This patch decreases the rating of the Xen clocksource in Dom0s to 275.
Which is half-way between the rating of the TSC clocksource (300) and the
hpet clocksource (250).

Cc: Anthony Liguori <aliguori@amazon.com>
Signed-off-by: Imre Palik <imrep@amazon.de>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
arch/x86/xen/time.c