Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752496AbbEIUpR (ORCPT ); Sat, 9 May 2015 16:45:17 -0400 Received: from shards.monkeyblade.net ([149.20.54.216]:45333 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751736AbbEIUpO (ORCPT ); Sat, 9 May 2015 16:45:14 -0400 Date: Sat, 09 May 2015 16:45:12 -0400 (EDT) Message-Id: <20150509.164512.2163013950829969411.davem@davemloft.net> To: tcamuso@redhat.com Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, manish.chopra@qlogic.com, sony.chacko@qlogic.com, rajesh.borundia@qlogic.com, nhorman@redhat.com Subject: Re: [PATCH] netxen_nic: use spin_[un]lock_bh around tx_clean_lock (2) From: David Miller In-Reply-To: <1430917758-45028-1-git-send-email-tcamuso@redhat.com> References: <1430917758-45028-1-git-send-email-tcamuso@redhat.com> X-Mailer: Mew version 6.6 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Sat, 09 May 2015 13:45:14 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1160 Lines: 26 From: Tony Camuso Date: Wed, 6 May 2015 09:09:18 -0400 > This patch should have been part of the previous patch having the > same summary. See http://marc.info/?l=linux-kernel&m=143039470103795&w=2 > Unfortunately, I didn't check to see where else this lock was used before > submitting that patch. This should take care of it for netxen_nic, as I > did a thorough search this time. > > To recap from the original patch; although testing this driver with > DEBUG_LOCKDEP and DEBUG_SPINLOCK enabled did not produce any traces, > it would be more prudent in the case of tx_clean_lock to use _bh > versions of spin_[un]lock, since this lock is manipulated in both > the process and softirq contexts. > > This patch was tested for functionality and regressions with netperf > and DEBUG_LOCKDEP and DEBUG_SPINLOCK enabled. > > Signed-off-by: Tony Camuso Applied, thanks. -- 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/