Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp2491744pxb; Mon, 11 Jan 2021 10:59:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJxTkRgdlaXrEmTlazLdhS/c6DmJb7eh3dSj5+whWetzD7NNYTlL98qi1lSZfJ8utfnqiGBW X-Received: by 2002:a17:906:1b46:: with SMTP id p6mr654727ejg.68.1610391564899; Mon, 11 Jan 2021 10:59:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610391564; cv=none; d=google.com; s=arc-20160816; b=q2mOZE2/Bgw45051UtySNSr+jva8/ySMJebiC+R8IP2bNN0ssSKQYkPp5Kx0Ci7h37 W1zlIBmV6aba82KOhlAAmNElQ80rbvZEx4BKNb8j3N6dd6U0sCLoKcJa58ADgOU58k43 DW4IYEglVA0G8x05LFavXwLJdpdixDCMl4zH99JlUsm9cPFbOTBKQwf2cAnu1nBTGYYe XJijGFFu7wfbWrTs/gBagKgxJHEJKa7iZzdQlZ4AhugVw1Th8gySunwkIrwJ67L0U435 1BWKEEz1UCNMJlWFt9SoTLtFAz66LP20R8DPseOdxRelSzjS1zmpr/f3rov7ju/6VcKc 22/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=7TY4u8y4nlpPo8MbK7Hn5kazNdzoIchIIdDL3PSYumM=; b=wY8My3x+bsHE2u+2tRNFFBSqvGnnt08fBNZbg503JhN0DWHf3LZDCAddAbmgjOp9W7 co3NMzFM9kHw2QPACU7i6uFW57UJDQGHbRstknomsr+fjH/hqzjfsR8sk88baPJQYT1Z ueEqZ6/y6WZUjPWyOHyS5298/3uzrWL/ynbC9FjyYkmPGGYwfNJEAE7lbqAbCOsVt9vk iLc3gEB8ozK2hNpOqFsiKwpCU82gTzS4YZYZAY7F2DHzSj+gIeobttWAENawWq+b9g5o gkOUI56jLv2le1brG9hPKB4RimyMU33Fej4xG+7PvNv0L3zOyw8Cxrus77rOo1SvZiqR O1CQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ce24si110503ejb.189.2021.01.11.10.59.01; Mon, 11 Jan 2021 10:59:24 -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; 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=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732877AbhAKS5L (ORCPT + 99 others); Mon, 11 Jan 2021 13:57:11 -0500 Received: from smtp8.emailarray.com ([65.39.216.67]:10562 "EHLO smtp8.emailarray.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726063AbhAKS5L (ORCPT ); Mon, 11 Jan 2021 13:57:11 -0500 X-Greylist: delayed 399 seconds by postgrey-1.27 at vger.kernel.org; Mon, 11 Jan 2021 13:57:10 EST Received: (qmail 65343 invoked by uid 89); 11 Jan 2021 18:49:50 -0000 Received: from unknown (HELO localhost) (amxlbW9uQGZsdWdzdmFtcC5jb21AMTYzLjExNC4xMzIuNw==) (POLARISLOCAL) by smtp8.emailarray.com with SMTP; 11 Jan 2021 18:49:50 -0000 Date: Mon, 11 Jan 2021 10:49:45 -0800 From: Jonathan Lemon To: Alexander Lobakin Cc: "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 Subject: Re: [PATCH net-next 1/5] skbuff: rename fields of struct napi_alloc_cache to be more intuitive Message-ID: <20210111184945.e7y35uym73ujfif2@bsd-mbp> References: <20210111182655.12159-1-alobakin@pm.me> <20210111182801.12609-1-alobakin@pm.me> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210111182801.12609-1-alobakin@pm.me> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. -- Jonathan