On Fri, Feb 15, 2013 at 3:52 PM, buyitian <buyit@xxxxxxx> 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 _______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies