From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755454Ab1GNQ6L (ORCPT ); Thu, 14 Jul 2011 12:58:11 -0400 Received: from e4.ny.us.ibm.com ([32.97.182.144]:54128 "EHLO e4.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755337Ab1GNQ6J (ORCPT ); Thu, 14 Jul 2011 12:58:09 -0400 Date: Thu, 14 Jul 2011 09:57:51 -0700 From: "Paul E. McKenney" To: Peter Zijlstra Cc: Sergey Senozhatsky , Ingo Molnar , Thomas Gleixner , Steven Rostedt , Andrew Morton , Dipankar Sarma , linux-kernel@vger.kernel.org Subject: Re: INFO: possible circular locking dependency detected Message-ID: <20110714165751.GA7400@linux.vnet.ibm.com> Reply-To: paulmck@linux.vnet.ibm.com References: <20110714144946.GA3354@swordfish.minsk.epam.com> <1310661699.2309.13.camel@laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1310661699.2309.13.camel@laptop> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 14, 2011 at 06:41:39PM +0200, Peter Zijlstra wrote: > On Thu, 2011-07-14 at 17:49 +0300, Sergey Senozhatsky wrote: > > Hello, > > > > [ 4172.371094] ======================================================= > > [ 4172.371097] [ INFO: possible circular locking dependency detected ] > > [ 4172.371103] 3.0.0-rc7-dbg-00565-g6b31efc #644 > > [ 4172.371105] ------------------------------------------------------- > > [ 4172.371108] make/11702 is trying to acquire lock: > > [ 4172.371111] (rcu_node_level_0){..-...}, at: [] __rcu_read_unlock+0xb9/0x217 > > [ 4172.371123] > > [ 4172.371123] but task is already holding lock: > > [ 4172.371125] (&p->pi_lock){-.-.-.}, at: [] try_to_wake_up+0x29/0x28b > > [ 4172.371135] > > [ 4172.371135] which lock already depends on the new lock. > > Happen to have a .config and means of reproduction? We're a little > stumped at trying to explain how this can actually happen. What Peter said! Sergey, could also you please tell us what tree you are using? I am not seeing commit 6b31efc in mainline or -tip. Thanx, Paul