Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
b0f96900
cloud-kernel
项目概览
openanolis
/
cloud-kernel
1 年多 前同步成功
通知
160
Star
36
Fork
7
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
10
列表
看板
标记
里程碑
合并请求
2
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
cloud-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
10
Issue
10
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
b0f96900
编写于
12月 02, 2010
作者:
J
John Stultz
浏览文件
操作
浏览文件
下载
差异文件
Merge remote branch 'tip/x86/tsc' into fortglx/2.6.38/tip/x86/tsc
Conflicts: Documentation/kernel-parameters.txt
上级
3561d43f
d3b8f889
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
10 addition
and
6 deletion
+10
-6
Documentation/kernel-parameters.txt
Documentation/kernel-parameters.txt
+5
-4
arch/x86/kernel/tsc.c
arch/x86/kernel/tsc.c
+5
-2
未找到文件。
Documentation/kernel-parameters.txt
浏览文件 @
b0f96900
...
...
@@ -2467,12 +2467,13 @@ and is between 256 and 4096 characters. It is defined in the file
to facilitate early boot debugging.
See also Documentation/trace/events.txt
tsc= Disable clocksource
-must-verify flag
for TSC.
tsc= Disable clocksource
stability checks
for TSC.
Format: <string>
[x86] reliable: mark tsc clocksource as reliable, this
disables clocksource verification at runtime.
Used to enable high-resolution timer mode on older
hardware, and in virtualized environment.
disables clocksource verification at runtime, as well
as the stability checks done at bootup. Used to enable
high-resolution timer mode on older hardware, and in
virtualized environment.
[x86] noirqtime: Do not use TSC to do irq accounting.
Used to run time disable IRQ_TIME_ACCOUNTING on any
platforms where RDTSC is slow and this accounting
...
...
arch/x86/kernel/tsc.c
浏览文件 @
b0f96900
...
...
@@ -872,6 +872,9 @@ __cpuinit int unsynchronized_tsc(void)
if
(
boot_cpu_has
(
X86_FEATURE_CONSTANT_TSC
))
return
0
;
if
(
tsc_clocksource_reliable
)
return
0
;
/*
* Intel systems are normally all synchronized.
* Exceptions must mark TSC as unstable:
...
...
@@ -879,10 +882,10 @@ __cpuinit int unsynchronized_tsc(void)
if
(
boot_cpu_data
.
x86_vendor
!=
X86_VENDOR_INTEL
)
{
/* assume multi socket systems are not synchronized: */
if
(
num_possible_cpus
()
>
1
)
tsc_unstable
=
1
;
return
1
;
}
return
tsc_unstable
;
return
0
;
}
static
void
__init
init_tsc_clocksource
(
void
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录