Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
5ce73a4a
cloud-kernel
项目概览
openanolis
/
cloud-kernel
大约 1 年 前同步成功
通知
153
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看板
体验新版 GitCode,发现更多精彩内容 >>
提交
5ce73a4a
编写于
9月 14, 2008
作者:
I
Ingo Molnar
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
timers: fix itimer/many thread hang, cleanups
Signed-off-by:
N
Ingo Molnar
<
mingo@elte.hu
>
上级
0a8eaa4f
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
4 addition
and
4 deletion
+4
-4
include/linux/sched.h
include/linux/sched.h
+1
-1
kernel/posix-cpu-timers.c
kernel/posix-cpu-timers.c
+3
-3
未找到文件。
include/linux/sched.h
浏览文件 @
5ce73a4a
...
...
@@ -430,7 +430,7 @@ struct pacct_struct {
* @utime: time spent in user mode, in &cputime_t units
* @stime: time spent in kernel mode, in &cputime_t units
* @sum_exec_runtime: total time spent on the CPU, in nanoseconds
*
*
* This structure groups together three kinds of CPU time that are
* tracked for threads and thread groups. Most things considering
* CPU time want to group these counts together and treat all three
...
...
kernel/posix-cpu-timers.c
浏览文件 @
5ce73a4a
...
...
@@ -94,7 +94,7 @@ void update_rlimit_cpu(unsigned long rlim_new)
cputime
=
secs_to_cputime
(
rlim_new
);
if
(
cputime_eq
(
current
->
signal
->
it_prof_expires
,
cputime_zero
)
||
cputime_lt
(
current
->
signal
->
it_prof_expires
,
cputime
))
{
cputime_lt
(
current
->
signal
->
it_prof_expires
,
cputime
))
{
spin_lock_irq
(
&
current
->
sighand
->
siglock
);
set_process_cpu_timer
(
current
,
CPUCLOCK_PROF
,
&
cputime
,
NULL
);
spin_unlock_irq
(
&
current
->
sighand
->
siglock
);
...
...
@@ -1372,9 +1372,9 @@ void run_posix_cpu_timers(struct task_struct *tsk)
* tsk->signal is non-NULL; this probably can't happen but cover the
* possibility anyway.
*/
if
(
unlikely
(
!
sig
)
||
!
fastpath_timer_check
(
tsk
,
sig
))
{
if
(
unlikely
(
!
sig
)
||
!
fastpath_timer_check
(
tsk
,
sig
))
return
;
}
sighand
=
lock_task_sighand
(
tsk
,
&
flags
);
if
(
likely
(
sighand
))
{
/*
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录