Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp5217361imm; Fri, 18 May 2018 20:00:11 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrAA2MVlT/drAYDati5AiCbLxbG2a+K2LO+vmXlCDES30WbQj7xTNKEv9EzsE0thX+lF4v/ X-Received: by 2002:a62:4387:: with SMTP id l7-v6mr11619926pfi.55.1526698811916; Fri, 18 May 2018 20:00:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526698811; cv=none; d=google.com; s=arc-20160816; b=mlerki3gWk4qbSDgPd+63q+KIQCIsZ+kOuf1L4fInLLkvrz5SyVvn5o6LrO2FE/bap ofb5AZ+oHoQf3WXaM2q5avkC01azGXZ5pUU9syaWOvRK0q8HujDw6Z+7q81rrggJRawY OQRCb/PKDCt1GEkbsXryUrwrwlXFFxOTd3WXRfH0X4Mj/kTHseeqhE4NED103JflGTDY BGWe5B22r1NaKFi7VE1GUCUw5f8CQfbZwPFTWenxNOYBrJx4Pox6NTFgaLucCgoqp0Mo E94MbHS5uoQMvyTAC8Dp9tO1oDM3x/t54jlXzkbDxt0P057xscSgiZABc1v2pF0F1qyR E7ig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=VZXE5UBMOFtFTLWqp5kIzZ+oQeOuvubO3YnMZPTUNdQ=; b=nHp+FNhkVUxt06uw7PBAgLjDmMTe2OeFuzzwNbbAKd6E9PXmnOOqzmXGDc4pg+IBco Ga+MYIw/9rzBfF22/8D8cJHc2LjUXd1j1Rh4IA/aApJM4grptHsm/+MCkHCuuE48Ffos 1ljNCV8VtXkQeOXf7Dq9PAjy4ZuOiH/k8dqKssWANtjT7o1mcFfuBS5VAqktc3TmWbm6 OyWbKl8wcEL82fyXh1TzhPo4mr10UDWfsAGvje0YelHle8gnrZ/lcoU3wxRy4IQZATF5 7VhUPA6PmP2euS1xU6G7AgVNfdvnOsKWoZzwYbFPzZyzVI0BrpAAB27UfXjYuiSGaVRj r1RQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qFdpn/g+; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u2-v6si6919302pgv.246.2018.05.18.19.59.54; Fri, 18 May 2018 20:00:11 -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=@gmail.com header.s=20161025 header.b=qFdpn/g+; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752188AbeESC7n (ORCPT + 99 others); Fri, 18 May 2018 22:59:43 -0400 Received: from mail-pl0-f67.google.com ([209.85.160.67]:46883 "EHLO mail-pl0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751323AbeESC7l (ORCPT ); Fri, 18 May 2018 22:59:41 -0400 Received: by mail-pl0-f67.google.com with SMTP id 30-v6so5601900pld.13; Fri, 18 May 2018 19:59:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=VZXE5UBMOFtFTLWqp5kIzZ+oQeOuvubO3YnMZPTUNdQ=; b=qFdpn/g+Am01Y+Hf5R7nZVlGyfPrX+aFcLWkR7mC9iUUFo5FZ8CpaJa+JfU20burxi LL26B9tjRrbYXvh6axKjp+fq152woJEgy1JphA88XywDuErFfD3WSKrBUC/foE7fYGKc o5h1xuDdO5BoaZKwHU58RGwY7KAdViCzbzshLt8QDENTe1Cq1jrHgfJFc4/6ga3zEWVC jNJpIYZgjpOk3bEQBwHJElS1SjGUM/d8GS21nk2OzcWxfA+c5hjuevDuRhpcBEGIY9nk SxRxY2foAtEfihk+hrHsrpLK456CYfyXUSwVVpLYCQkY39xHgNglulFe9YqTDIeJxVtm ybJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=VZXE5UBMOFtFTLWqp5kIzZ+oQeOuvubO3YnMZPTUNdQ=; b=nSShaMxs7iVmbOx2Do5BbyqTK8FASq25DV5mXMkHbzVmDFx7IhtJCs8S2fe8GCRDdE VWMh98slYrWYWt/R2pV9lL2U1AbBxUQOzDiAutSOfSDriNOk9w5v6ciOzleYZLR6Ag7F n/jv8Qlpb1okEHMUAoQOBdegsk55BkRARTmoJgInvvl1HKz2+NzEWXnLZVQx4uvAR3C5 VOWCdanTGiGPpFL6RREaVDWLqM4x/s9RGkOOpDh3DWdP1PfXOI4nFsq6sj5BlMLaCA3Y /33mhjaU2ETQKcFafHtYKMPwRq3FPkvZ6ZhUYKJlaB1PzA2RS/G7b5rwYDKDJDaM8zCX azEg== X-Gm-Message-State: ALKqPwftliUdwk5a6aIpNjaoD7Vxaj+oBu89+Z0Seb5MpzaJ3o2bKuNR GQcgR9gQClWOzFEkvSs0wRyyHusSlxd6hZxiIzs= X-Received: by 2002:a17:902:20e8:: with SMTP id v37-v6mr11800637plg.354.1526698780771; Fri, 18 May 2018 19:59:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.236.179.152 with HTTP; Fri, 18 May 2018 19:59:20 -0700 (PDT) In-Reply-To: <1526658324-6570-1-git-send-email-vladbu@mellanox.com> References: <1526658324-6570-1-git-send-email-vladbu@mellanox.com> From: Cong Wang Date: Fri, 18 May 2018 19:59:20 -0700 Message-ID: Subject: Re: [PATCH] net: sched: don't disable bh when accessing action idr To: Vlad Buslov Cc: Linux Kernel Network Developers , Jamal Hadi Salim , Jiri Pirko , David Miller , LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 18, 2018 at 8:45 AM, Vlad Buslov wrote: > Underlying implementation of action map has changed and doesn't require > disabling bh anymore. Replace all action idr spinlock usage with regular > calls that do not disable bh. Please explain explicitly why it is not required, don't let people dig, this would save everyone's time. Also, this should be targeted for net-next, right? Thanks.