分类: 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