spinlock deadlock

Mulyadi Santosa mulyadi.santosa at gmail.com
Sun Feb 17 00:37:21 EST 2013


On Fri, Feb 15, 2013 at 3:52 PM, buyitian <buyit at live.cn> wrote:
> is it possible that printk cause deadlock? the path is as below:
>
> 1. taskA runs on CPU0, and run schedule to acqire the rq->lock.
> 2. taskA calls printk while holding rq->lock.

I began to get rusty on this...but, why do you grab run queue lock?


-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com



More information about the Kernelnewbies mailing list