aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/math-emu
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>2010-07-12 11:49:59 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2010-08-10 10:54:14 -0700
commit9967f081f3086b6556d79f7a6f317fdcf7a313d6 (patch)
treeb02852b18039d3b45c5436de39afb72783468164 /arch/x86/math-emu
parente11e4f058c98a984fd23e0f04c27a74e684b754b (diff)
xen: drop xen_sched_clock in favour of using plain wallclock time
commit 8a22b9996b001c88f2bfb54c6de6a05fc39e177a upstream. xen_sched_clock only counts unstolen time. In principle this should be useful to the Linux scheduler so that it knows how much time a process actually consumed. But in practice this doesn't work very well as the scheduler expects the sched_clock time to be synchronized between cpus. It also uses sched_clock to measure the time a task spends sleeping, in which case "unstolen time" isn't meaningful. So just use plain xen_clocksource_read to return wallclock nanoseconds for sched_clock. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch/x86/math-emu')
0 files changed, 0 insertions, 0 deletions