Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2022313imm; Fri, 7 Sep 2018 09:37:06 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYPDdIrdatsVFtuk71SDjhgLTGSx4+l0lBrPJ6d7TxDUXElv/OGZ7y0EUG4K7sPAW+xnVvf X-Received: by 2002:a62:be03:: with SMTP id l3-v6mr9475190pff.138.1536338226912; Fri, 07 Sep 2018 09:37:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536338226; cv=none; d=google.com; s=arc-20160816; b=gtaxNUSI7kbHMpxAZvnK+wE4zfdJcvTT1PJ4zkQ/oJ6jluCKzb4gp1M7DuBKfunkHS oIAqMhKw0Sd2UR+ZvVXcKB5SWAHwCYSN8bxIr5YgCr0plVJC+mLjheF8vGTm83S+/WJx yg/fVog262IthfKHpYJv7XLgdM/OQSYMppMvM0FVkAg2YUxY0WCD4S86knu2p03ckIbC zK0Eom8yZLfwMJlXEkD4jAO82IzeE5I1wS8Zo1RzWnmaD9f23OyFwYKnIEQFHL6idnmF 435Keu5pFwgcuE6MP13LK/sgdlpodwEVqxtXiT5sgZdInaCAbnMa/1cJvgu8EeNIKh3U cHxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=tEIuLLe9PUfFRv2Bgo3DJ5r8ldqFsGz/X7WhewxB/tY=; b=jI//2TLQIsOH24JAFHig0G08xExhC1jQKtNmCzRjVBxwhQS3t6pMRQhfdPm/wZJw7B cLDeDOqquREPIwglNhTUzAXKJXZfXiAwzp3DwHKrGXzbsb3YI06oYGDtUGlesc6eJz4+ Dk+KAKaQ6CwFKW85vHWkiVoac6//C9OVpSEWng6xQH7J8OHb4J0CLtpSkLTVd+HmAEsr r7FGkzX+wCa7zVsEtgoXgx5y4T4qYjukF4dBn3K71hXNbHEdwXeUnj3nQ3o/3zAyy8Rw IlYrHTCcrZQWksj2czSSgV3JO0aPSw+jevdxlVDPwG21rCNtLuZgRnRHsMzodDTwS0Dn WHJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@netronome-com.20150623.gappssmtp.com header.s=20150623 header.b="Qgt/lBP+"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r130-v6si8403874pgr.456.2018.09.07.09.36.50; Fri, 07 Sep 2018 09:37:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@netronome-com.20150623.gappssmtp.com header.s=20150623 header.b="Qgt/lBP+"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726365AbeIGVPW (ORCPT + 99 others); Fri, 7 Sep 2018 17:15:22 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:45667 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726248AbeIGVPW (ORCPT ); Fri, 7 Sep 2018 17:15:22 -0400 Received: by mail-pf1-f193.google.com with SMTP id i26-v6so7259706pfo.12 for ; Fri, 07 Sep 2018 09:33:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netronome-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :organization:mime-version:content-transfer-encoding; bh=tEIuLLe9PUfFRv2Bgo3DJ5r8ldqFsGz/X7WhewxB/tY=; b=Qgt/lBP+KgwGQQ4u94UIHF/4pEKFdtQib072Y6MJIjYEZmZIaGV5M7g7aoJME6ywLv rHGEkTPRBpaWyHfzgUeeFVXnkeGy3SVO5UIfrFF9kwamRaT0tEWInDpoi2iW4+YtN9R0 SXogn63mARtVv/TBuBrg/f4WTMX1Q3ghL6J6f5esbMKmuB+RyZJJuuVSjL/qz5ZmPSPS Yz4lQHTKVFCfsT4AUCOx10L9ce2mNdowDgVG1PfP5A0KCTDpTvXK2H6I0DhPEVFiDP5R rDatfCM17NRdEIsRfqQugRcdul2tdBqDB77t9GWvmCZ+PCSRxpIv6ioLsLzS3GsYC6ge Bc4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:organization:mime-version:content-transfer-encoding; bh=tEIuLLe9PUfFRv2Bgo3DJ5r8ldqFsGz/X7WhewxB/tY=; b=WwzvXokT5gRfLH0vIm3hId9WcrJhV/UakSy48XWS59Smpvc0FZQiGEov1jnT+eTgct KoOtN+Sy+9WJY2BDlfO/zjQZpMhZX9eTk5ckIOHfNNBqvsam3zqDOP8Y5mdoX345BAxs YB+8vh9n2qq1Q2jgPRLPGtS3MfqspWx8H2RDoN/l0mkCM4Ao7rwnEyfT9ssCA4qNvi4f dpxl/345TZ4cXzCDYB9WvzZCISjckNp4+3h4BmyonTPeSv+E36U4zQg/FBQFBmn2UOFE rzZqW/OpIFmPqZWEZ7XZYJ1vYM70bcEBpAbbsOBwybV7GSnxcMPEb0J40ZlC4sKlPZP2 5X2g== X-Gm-Message-State: APzg51DHh7mTKzgErMer74QJjDyl16BCmyXmtIAyPAJqvFOdc3bzQAar mnDgQnXRGrrSB3mvcd9lgsxYelA7jqQ= X-Received: by 2002:a62:9541:: with SMTP id p62-v6mr9588115pfd.194.1536338019738; Fri, 07 Sep 2018 09:33:39 -0700 (PDT) Received: from cakuba (89-66-82-92.dynamic.chello.pl. [89.66.82.92]) by smtp.gmail.com with ESMTPSA id k4-v6sm14761965pfj.30.2018.09.07.09.33.37 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 07 Sep 2018 09:33:39 -0700 (PDT) Date: Fri, 7 Sep 2018 18:33:31 +0200 From: Jakub Kicinski To: jun qian Cc: Dirk van der Merwe , Daniel Borkmann , Quentin Monnet , oss-drivers@netronome.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ethernet:netronome:nfp:move spin_lock_bh to spin_lock in tasklet Message-ID: <20180907183331.7ed99ae3@cakuba> In-Reply-To: <20180907162117.47361-1-hangdianqj@163.com> References: <20180907162117.47361-1-hangdianqj@163.com> Organization: Netronome Systems, Ltd. MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 7 Sep 2018 09:21:17 -0700, jun qian wrote: > As you are already in a tasklet, it is unnecessary to call spin_lock_bh. > > Signed-off-by: jun qian We had more of those at some point, I wonder if you(r tool) can find them :) Acked-by: Jakub Kicinski