Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp2567269pxb; Mon, 11 Jan 2021 13:09:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJz/dDdOoXq1DjsRLGNZBYjqv4BODwL5ODITI8xgrCDOlpsPIZuyqBk0ub4YGNuDSq7avbGE X-Received: by 2002:a17:906:cec7:: with SMTP id si7mr874069ejb.123.1610399350977; Mon, 11 Jan 2021 13:09:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610399350; cv=none; d=google.com; s=arc-20160816; b=IOyGATNkUf96rFkKm/NOZoRxTnt/PDg6uAGEl+LpbTrz1IY86uM4i1EZ1fJpRqAs5I 3+k1GLRP/qjavCkwTsgCKMXzikUEkAa5pbAILSqT9J+3wZVEJT8dTaZYj9wNSze40yXp 3+LGt5agfw5HSzjjcBv1oqPDM2r5ygloTWQHqMLaIhfAA4KrvQYnze+CdFcQ6nj0xF2y pnQ6KbO1b4LHmt2lP7jH3FNqNjXZsGZkq7c1WtNchmXtkHJPksa5R10Hnl0LfXpNK5tT sUQFnyaPu4jn2b8IYZUpXAy5FHkLx0BCfmWKp+WztlV5ms+NliSHQN7YrKcM5noeUb9B NBIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:reply-to:cc:from:to :dkim-signature:date; bh=vcu//doyECUTnhIiITA/X39kwSyLf2KhHEjPp8bJwpg=; b=AecaBjeRCsyExhBUXW70hfonZKcLzKjU2VvcvJZLujY/e+/S/Nyaf+QFFedMW63qJt sUb8zDfUZWFtqkxSpMmB4uGzJUCmeVW4OyfOuJN+k9corXciwEi5TkyOsuZe/TbFltNf h/6L8dGn/FVRSNvizzz2faGJcLwnORmYTHkji4hiukBW6+GlTZEa8cpTECMtmc8qCe4s vW9M7PHHB/ttcnFwm61x6mE2lWZP+QBKM0O+KrKBMaCmrCuv4GdjEKYCDLy9W+QdGHBu 5AaxdEQz/UV9+5y4nRb8i7tZBWw8h4VYN2sRZ8h4P9lfjqHDKl7TJAMGtm4AcabvENEx L0ew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pm.me header.s=protonmail header.b=gcPLtnWE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=pm.me Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l16si197257ejr.711.2021.01.11.13.08.46; Mon, 11 Jan 2021 13:09:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@pm.me header.s=protonmail header.b=gcPLtnWE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=pm.me Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731862AbhAKVEq (ORCPT + 99 others); Mon, 11 Jan 2021 16:04:46 -0500 Received: from mail-40134.protonmail.ch ([185.70.40.134]:56851 "EHLO mail-40134.protonmail.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730320AbhAKVEp (ORCPT ); Mon, 11 Jan 2021 16:04:45 -0500 Date: Mon, 11 Jan 2021 21:03:57 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail; t=1610399042; bh=vcu//doyECUTnhIiITA/X39kwSyLf2KhHEjPp8bJwpg=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=gcPLtnWEa+t+9+1BPvXLHnZlcc4wAQhhVrcczGB8ewUh7b1aY3/V7wUxE27cFJx6+ tpUbFzh4YzvhUuy/o5nWOONHEyWTm3u1NIjg2jlmPFFGgZd9sh7Dz/BtxH8fLsfusG RKVecP9Q+HCSgyIVWxgKzf5s6IcqlB3n5TddCjrqaLM80fWhfAylg6GLv/nXrQXj4V 0tvgBykcaCN3iG+ZSKfN/XlDdm0GMSY2Q7ADqSy6sk+KbxuZQnx3u0+1641f/Wicxb 4q1NcbtMKcFdWy4t/83Qhag0OBgT63NVo+i6YgHgrMA4oTjoRa4dQzWuiHOWw0oiCl 4idWrzklmWJKg== To: Jonathan Lemon From: Alexander Lobakin Cc: Alexander Lobakin , "David S. Miller" , Jakub Kicinski , Eric Dumazet , Edward Cree , Willem de Bruijn , Miaohe Lin , Steffen Klassert , Guillaume Nault , Yadu Kishore , Al Viro , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Reply-To: Alexander Lobakin Subject: Re: [PATCH net-next 1/5] skbuff: rename fields of struct napi_alloc_cache to be more intuitive Message-ID: <20210111210329.18881-1-alobakin@pm.me> In-Reply-To: <20210111184945.e7y35uym73ujfif2@bsd-mbp> References: <20210111182655.12159-1-alobakin@pm.me> <20210111182801.12609-1-alobakin@pm.me> <20210111184945.e7y35uym73ujfif2@bsd-mbp> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jonathan Lemon Date: Mon, 11 Jan 2021 10:49:45 -0800 > On Mon, Jan 11, 2021 at 06:28:21PM +0000, Alexander Lobakin wrote: >> skb_cache and skb_count fields are used to store skbuff_heads queued >> for freeing to flush them by bulks, and aren't related to allocation >> path. Give them more obvious names to improve code understanding and >> allow to expand this struct with more allocation-related elements. > > I don't think prefixing these with flush_ is the correct approach; > flush is just an operation on the structure, not a property of the > structure itself. It especially becomes confusing in the later > patches when the cache is used on the allocation path. Agree, but didn't come up with anything more fitting. Any suggestions maybe? > -- > Jonathan Thanks, Al