lkml.org 
[lkml]   [2012]   [Oct]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: task_work_add/scheduler_tick: possible circular locking dependency detected
From
Date
On Fri, 2012-09-28 at 19:34 +0800, Fengguang Wu wrote:
> Peter,
>
> I got the warning
>
> [ 10.412023]
> [ 10.412611] ======================================================
> [ 10.413014] [ INFO: possible circular locking dependency detected ]
> [ 10.413014] 3.6.0-rc4-00098-g7eaffe9 #402 Not tainted
> [ 10.413014] -------------------------------------------------------
> [ 10.413014] init/1 is trying to acquire lock:
> [ 10.413014] (&p->pi_lock){-.-.-.}, at: [<ffffffff81088214>] task_work_add+0x28/0x82
> [ 10.413014]
> [ 10.413014] but task is already holding lock:
> [ 10.413014] (&rq->lock){-.-.-.}, at: [<ffffffff8109c6ea>] scheduler_tick+0x3f/0xec
> [ 10.413014]
> [ 10.413014] which lock already depends on the new lock.
> [ 10.413014]
> [ 10.413014]
>

The commit ac3d0da8f3290b3d394cdb7f50604424a7cd6092 should avoid this
from happening, not sure what branch its on, but it was in tip before
all this landed, so I guess its due to you testing sched/numa branch and
not a merged branch like master or auto-next.




\
 
 \ /
  Last update: 2012-10-01 13:21    [W:0.039 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site