Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750727AbWI3I22 (ORCPT ); Sat, 30 Sep 2006 04:28:28 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750741AbWI3I22 (ORCPT ); Sat, 30 Sep 2006 04:28:28 -0400 Received: from smtp.osdl.org ([65.172.181.4]:55452 "EHLO smtp.osdl.org") by vger.kernel.org with ESMTP id S1750727AbWI3I20 (ORCPT ); Sat, 30 Sep 2006 04:28:26 -0400 Date: Sat, 30 Sep 2006 01:28:10 -0700 From: Andrew Morton To: petkov@math.uni-muenster.de Cc: Borislav Petkov , linux-kernel@vger.kernel.org, Davide Libenzi , Ingo Molnar Subject: Re: 2.6.18-mm2 - possible recursive locking detected Message-Id: <20060930012810.d79dc8e6.akpm@osdl.org> In-Reply-To: <20060930070406.GA7090@gollum.tnic> References: <20060928014623.ccc9b885.akpm@osdl.org> <20060930070406.GA7090@gollum.tnic> X-Mailer: Sylpheed version 2.2.7 (GTK+ 2.8.17; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3673 Lines: 59 On Sat, 30 Sep 2006 09:04:06 +0200 Borislav Petkov wrote: > On Thu, Sep 28, 2006 at 01:46:23AM -0700, Andrew Morton wrote: > Hi, > > .config is at http://tim.dnsalias.org/2.6.18-mm2.cfg. > > Sep 30 08:38:17 zmei kernel: [ 285.197902] > Sep 30 08:38:19 zmei kernel: [ 285.197905] ============================================= > Sep 30 08:38:19 zmei kernel: [ 285.204776] [ INFO: possible recursive locking detected ] > Sep 30 08:38:19 zmei kernel: [ 285.210163] 2.6.18-mm2 #1 > Sep 30 08:38:19 zmei kernel: [ 285.212782] --------------------------------------------- > Sep 30 08:38:19 zmei kernel: [ 285.218168] swapper/0 is trying to acquire lock: > Sep 30 08:38:19 zmei kernel: [ 285.222777] (&q->lock){++..}, at: [] __wake_up+0x15/0x3b > Sep 30 08:38:19 zmei kernel: [ 285.229114] > Sep 30 08:38:19 zmei kernel: [ 285.229115] but task is already holding lock: > Sep 30 08:38:19 zmei kernel: [ 285.234952] (&q->lock){++..}, at: [] __wake_up+0x15/0x3b > Sep 30 08:38:19 zmei kernel: [ 285.241290] > Sep 30 08:38:19 zmei kernel: [ 285.241291] other info that might help us debug this: > Sep 30 08:38:19 zmei kernel: [ 285.247817] 4 locks held by swapper/0: > Sep 30 08:38:19 zmei kernel: [ 285.251561] #0: (&tp->rx_lock){-+..}, at: [] rtl8139_poll+0x42/0x405 > Sep 30 08:38:19 zmei kernel: [ 285.259041] #1: (slock-AF_INET/1){-+..}, at: [] tcp_v4_rcv+0x3fa/0x8eb > Sep 30 08:38:19 zmei kernel: [ 285.266700] #2: (af_callback_keys + sk->sk_family#3){-.-?}, at: [] sock_def_readable+0x15/0x69 > Sep 30 08:38:19 zmei kernel: [ 285.276454] #3: (&q->lock){++..}, at: [] __wake_up+0x15/0x3b > Sep 30 08:38:19 zmei kernel: [ 285.283241] > Sep 30 08:38:19 zmei kernel: [ 285.283242] stack backtrace: > Sep 30 08:38:19 zmei kernel: [ 285.287688] [] dump_trace+0x64/0x1cd > Sep 30 08:38:19 zmei kernel: [ 285.292243] [] show_trace_log_lvl+0x12/0x25 > Sep 30 08:38:19 zmei kernel: [ 285.297405] [] show_trace+0xd/0x10 > Sep 30 08:38:19 zmei kernel: [ 285.301780] [] dump_stack+0x19/0x1b > Sep 30 08:38:19 zmei kernel: [ 285.306250] [] __lock_acquire+0x750/0x96c > Sep 30 08:38:19 zmei kernel: [ 285.311304] [] lock_acquire+0x4b/0x6b > Sep 30 08:38:19 zmei kernel: [ 285.316005] [] _spin_lock_irqsave+0x2c/0x3c > Sep 30 08:38:19 zmei kernel: [ 285.321233] [] __wake_up+0x15/0x3b > Sep 30 08:38:19 zmei kernel: [ 285.325638] [] ep_poll_safewake+0x91/0xc3 > Sep 30 08:38:19 zmei kernel: [ 285.330760] [] ep_poll_callback+0x83/0x8e > Sep 30 08:38:19 zmei kernel: [ 285.335888] [] __wake_up_common+0x2f/0x53 > Sep 30 08:38:19 zmei kernel: [ 285.340898] [] __wake_up+0x28/0x3b > Sep 30 08:38:19 zmei kernel: [ 285.345312] [] sock_def_readable+0x3a/0x69 > Sep 30 08:38:20 zmei kernel: [ 285.350778] [] tcp_data_queue+0x50f/0xa53 > Sep 30 08:38:20 zmei kernel: [ 285.356232] [] tcp_rcv_established+0x5aa/0x64f > Sep 30 08:38:20 zmei kernel: [ 285.362077] [] tcp_v4_do_rcv+0x26/0x2f2 > Sep 30 08:38:20 zmei kernel: [ 285.367322] [] tcp_v4_rcv+0x87b/0x8eb We'll need to teach lockdep about that one, but I don't have a clue how. Is it not vulnerable to ab/ba deadlocking? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/