Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751185Ab0HOFKT (ORCPT ); Sun, 15 Aug 2010 01:10:19 -0400 Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:38736 "EHLO sunset.davemloft.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750870Ab0HOFKR (ORCPT ); Sun, 15 Aug 2010 01:10:17 -0400 Date: Sat, 14 Aug 2010 22:10:35 -0700 (PDT) Message-Id: <20100814.221035.229735667.davem@davemloft.net> To: torvalds@linux-foundation.org Cc: akpm@linux-foundation.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, eric.dumazet@gmail.com Subject: Re: [GIT] Networking From: David Miller In-Reply-To: <20100814.220945.232761341.davem@davemloft.net> References: <20100812.161050.246523792.davem@davemloft.net> <20100814.220945.232761341.davem@davemloft.net> X-Mailer: Mew version 6.3 on Emacs 23.1 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1600 Lines: 36 From: David Miller Date: Sat, 14 Aug 2010 22:09:45 -0700 (PDT) Umm, didn't actually CC: Eric, doing that now :-) > From: Linus Torvalds > Date: Sat, 14 Aug 2010 11:05:54 -0700 > >> Anyway, the lock warning I do get seems to be networking-related, and >> is appended. Does this ring any bells? It could easily be something >> old: I turn on lock debugging only when I look for bugs (or when >> people point out bugs that I've created :^/ ) > > This is a false positive but I have no idea how we can annotate > this to not trigger in lockdep. > > These are per-cpu locks for counter management. > > The get_counters() code knows that the locks for other cpu's counters > can only be taken in software interrupt context of that other cpu. So > it is legal to turn software interrupts back on when grabbing their > locks in base context. > > CC:'ing Eric Dumazet since he put the code the way it is now :-) > Via commit 24b36f0193467fa727b85b4c004016a8dae999b9 > ("netfilter: {ip,ip6,arp}_tables: dont block bottom half more than necessary") > -- > 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/ -- 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/