Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751971Ab3CARmh (ORCPT ); Fri, 1 Mar 2013 12:42:37 -0500 Received: from h1446028.stratoserver.net ([85.214.92.142]:46394 "EHLO mail.ahsoftware.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751151Ab3CARmf (ORCPT ); Fri, 1 Mar 2013 12:42:35 -0500 Message-ID: <5130E5A5.90303@ahsoftware.de> Date: Fri, 01 Mar 2013 18:30:13 +0100 From: Alexander Holler User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130219 Thunderbird/17.0.3 MIME-Version: 1.0 To: Lennert Buytenhek CC: Lubomir Rintel , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Lubomir Rintel Subject: Re: [PATCH] mv643xx_eth: Fix a possible deadlock upon ifdown References: <1357308422-19639-1-git-send-email-lkundrak@v3.sk> <20130104202509.GX27530@wantstofly.org> In-Reply-To: <20130104202509.GX27530@wantstofly.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1446 Lines: 40 Am 04.01.2013 21:25, schrieb Lennert Buytenhek: > On Fri, Jan 04, 2013 at 03:07:02PM +0100, Lubomir Rintel wrote: > >> From: Lubomir Rintel >> >> ================================= >> [ INFO: inconsistent lock state ] >> 3.7.0-6.luboskovo.fc19.armv5tel.kirkwood #1 Tainted: G W >> --------------------------------- >> inconsistent {IN-SOFTIRQ-W} -> {SOFTIRQ-ON-W} usage. >> NetworkManager/337 [HC0[0]:SC0[0]:HE1:SE1] takes: >> (_xmit_ETHER#2){+.?...}, at: [] txq_reclaim+0x54/0x264 [mv643xx_eth] I get the same annoying warning when the MTU gets changed (through dhcp). > > Maybe I'm not reading it right, but I doubt that this is an actual > deadlock or that the patch is needed. > > txq_reclaim() indeed doesn't disable BHs, but that's because it's > always called in BH context. Almost always -- the only exception is > txq_deinit(), called from ->ndo_stop(), but by that time we've > already napi_disable()'d and netif_carrier_off()'d and free_irq()'d. Agreed. I've just read me through that too and don't think a deadlock is possible. > > How to explain that to lockdep, though, I don't know. The patch helps with that. ;) Regards, Alexander -- 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/