FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Kernel Team

 
 
LinkBack Thread Tools
 
Old 05-17-2011, 05:16 PM
Stefan Bader
 
Default UBUNTU: SAUCE: XEN: Do not force sched_clock_stable

BugLink: http://bugs.launchpad.net/bugs/727459

This is part of the changes that have been found while syncing up
the patchsets. Apparently when applying the endif went into the
wrong place and causes the clock to be assumed always stable. Which
causes problems on certain CPUs (probably the fork/clone hang as well
as processes getting stuck for a longer time).

Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
---
arch/x86/kernel/cpu/intel.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/x86/kernel/cpu/intel.c b/arch/x86/kernel/cpu/intel.c
index 0aad121..f582b21 100644
--- a/arch/x86/kernel/cpu/intel.c
+++ b/arch/x86/kernel/cpu/intel.c
@@ -97,8 +97,8 @@ static void __cpuinit early_init_intel(struct cpuinfo_x86 *c)
set_cpu_cap(c, X86_FEATURE_NONSTOP_TSC);
#ifndef CONFIG_XEN
if (!check_tsc_unstable())
-#endif
sched_clock_stable = 1;
+#endif
}

/*
--
1.7.0.4


--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
 

Thread Tools




All times are GMT. The time now is 11:38 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org