2011-8-1 21:05:03
来源:互联网 发布:心彻为知 编辑:程序博客网 时间:2024/04/30 06:02
2011-8-1 21:05:03
On Mon, 01 Aug 2011 14:41:17 +0800
Shaohua Li <shaohua.li@intel.com> wrote:
> I get below warnning:
> BUG: using smp_processor_id() in preemptible [00000000] code: bash/746
> caller is native_sched_clock+0x37/0x6e
> Pid: 746, comm: bash Tainted: G W 3.0.0+ #254
> Call Trace:
> [<ffffffff813435c6>] debug_smp_processor_id+0xc2/0xdc
> [<ffffffff8104158d>] native_sched_clock+0x37/0x6e
> [<ffffffff81116219>] try_to_free_mem_cgroup_pages+0x7d/0x270
> [<ffffffff8114f1f8>] mem_cgroup_force_empty+0x24b/0x27a
> [<ffffffff8114ff21>] ? sys_close+0x38/0x138 [<ffffffff8114ff21>] ?
> sys_close+0x38/0x138 [<ffffffff8114f257>]
> mem_cgroup_force_empty_write+0x17/0x19
> [<ffffffff810c72fb>] cgroup_file_write+0xa8/0xba
> [<ffffffff811522d2>] vfs_write+0xb3/0x138 [<ffffffff8115241a>]
> sys_write+0x4a/0x71 [<ffffffff8114ffd9>] ? sys_close+0xf0/0x138
> [<ffffffff8176deab>] system_call_fastpath+0x16/0x1b
>
> sched_clock() can't be used with preempt enabled. And we don't need
> fast approach to get clock here, so let's use ktime API.
>
> Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Tested, thanks!.
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
- 2011-8-1 21:05:03
- 2011-8-1 20:01:05
- 2011-8-1 21:07:39
- 2011-8-1 21:13:48
- 2011-8-1 21:40:28
- 2011-8-21
- 2011-03-19~2011-03-21 竞彩足球
- 微博周记(2011-03-21---2011-03-25)
- 2011-05-03 linux驱动学习
- 2011-9-18 20:05:03
- 2011-05-10 21:57:32
- UC 杂记 05/21/2011 重温旧梦
- 2011-05-21 22:19:29
- 2011-9-21 16:05:14
- Some reading excerpts (2011/03/21)
- 2011-06-06 21:03:52
- 第一周 2011-05-30 ~ 2011-06-03
- 6/25/2011 8:25:05 PM
- tomcat里到底有什么?
- struts2.2.3配置注意事项
- 身在天朝,你不能不知道的知识
- Linux引导过程内幕
- /etc/profile和/etc/bashrc和~/.bash_profile和~/.bashrc和~/.bash_logout的区别
- 2011-8-1 21:05:03
- Address already in use: make_sock: could not bind to
- stm32 PDA 初步方案设计
- 【错误笔记】error LNK2019: 无法解析的外部符号 _cvHaarDetectObjects
- 2011-8-1 21:07:39
- 一、判别一个分解的无损连接性
- vs2008中几种主要数据类型的字节数
- Linux命令
- 安家了