Chinaunix首页 | 论坛 | 博客
  • 博客访问: 438620
  • 博文数量: 78
  • 博客积分: 2030
  • 博客等级: 大尉
  • 技术积分: 1002
  • 用 户 组: 普通用户
  • 注册时间: 2008-10-28 15:25
文章分类

全部博文(78)

文章存档

2012年(1)

2011年(1)

2010年(4)

2009年(12)

2008年(60)

我的朋友

分类: LINUX

2008-10-29 17:53:56

进程上下文占有锁不释放。
这是我自己做的实验,mips 单CPU 2.6 kernel配置为preempt
./spin
process hold the spin
scheduling while atomic: spin/0x00000001/433
Call Trace:
 [<800ded28>] getname+0x28/0xf8
 [<801dd978>] schedule+0x710/0x930
 [<800cc31c>] do_sys_open+0xe4/0xec
 [<800634a4>] work_resched+0x8/0x34
 [<80145ed8>] memset_partial+0x3c/0x6c

note: spin[433] exited with preempt_count 1
Segmentation fault

阅读(1652) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~