Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp158075rdd; Mon, 8 Jan 2024 23:02:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IFsJGmkc19NeIH/AuJFcS/okX/3L8WtwR5MigefsOr5XWVsvbHg4L2LocMPZWz55XFeIkpu X-Received: by 2002:a17:902:c947:b0:1d5:4b18:17d1 with SMTP id i7-20020a170902c94700b001d54b1817d1mr1792235pla.106.1704783771609; Mon, 08 Jan 2024 23:02:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704783771; cv=none; d=google.com; s=arc-20160816; b=YpDdT1vV3X6HRL6F4cw1PG1Or0C7EggRLd6IpqdUDpztnLYW+ovIyXsVeVz1xKyenO WDZUYsEdHNmwtJ3XHZ//AcBvVe+asRyZJ8IQK4+UHb3noOfPphFYTipdSs/YniIaHyre WHLYu6DPU56tsg0+3rB1urlpTmjEvF/n5wRa2mkQfkBl5OEtR5YVwdXZ03s8vWt4Ec+A h76W+d499gC5XxTjEs8SYRWBlHRj2Rre5wI81Am+WTpjFZ3x6UE3ODor08jbXms8IhLV 3gyWw3pnhwwu9rMgz2lEtgYjA9u/OA7Rod9mY6AMfwvEToYTw40Ed5NSBkIzLJPxxNHk LGsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=CIUb3fcPdkO1d5slw3lM6PxUfdrzjr/kVi5On1PQKpo=; fh=ifxRIl9Ff+7Mbz/klD/oSnTAhzAPciOPCoRGcouBqyY=; b=MrH5GzWZckG5xG5mhNSm4fysHlGJ7ykC7PEg37B5rmTyl6FuD3b6QgGVt3DmMJhuc9 C7PKmkmLoqaFn/jHEsBk+atWcIYd6yGhQWTAI7REODnu1HPeKygxVwfORogP0D8Ug4mj xNo64SYhQpOky91I6FqffOMYid8BGz6B/PTrciXpGvlBOFO9rXlv0p+13LETXpfW6YgQ 5Gb4XVNj2q8QfGtdoKjcyQB9O63pTq0vInVDCA3lBD8YlYXgXmGjQ2uYyXtyV+abSxfo 1krKT4j6yY8ltOWI3Y+zFhES6mrqK82rrET3RUbIqtE2iuTRN9kT6bYzA+uQIblPuhE7 I/mA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=It+HKYJt; spf=pass (google.com: domain of linux-kernel+bounces-20439-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20439-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id iw1-20020a170903044100b001d49bb92937si1075041plb.91.2024.01.08.23.02.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 23:02:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-20439-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=It+HKYJt; spf=pass (google.com: domain of linux-kernel+bounces-20439-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20439-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 3F812283D25 for ; Tue, 9 Jan 2024 07:02:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8521E9447; Tue, 9 Jan 2024 07:02:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="It+HKYJt" Received: from mail-lf1-f42.google.com (mail-lf1-f42.google.com [209.85.167.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2E74B79C4 for ; Tue, 9 Jan 2024 07:02:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-lf1-f42.google.com with SMTP id 2adb3069b0e04-50eabbc3dccso2601949e87.2 for ; Mon, 08 Jan 2024 23:02:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704783759; x=1705388559; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=CIUb3fcPdkO1d5slw3lM6PxUfdrzjr/kVi5On1PQKpo=; b=It+HKYJtsB9FazHgWThY/bgCwzHrt6+l4zrnGIup8b3r1E6teF3qkT9uvlHNd29aCX PhvVJGCRx5hISQNXDVcPAfUAde4v9gyTGpAI7GOiVqZIk/5fzw6RcMBBxBTrKMOpgY24 wLNctoMkOJbfbLIJFWoVCgsS476lFgLqF/XG0/MhGVzKgN5lY9aajZ1ygmEnXLvMUyRu gc4MUO0t0PyYyphgD5L2oHG+6hMBp+BUsqwPc9R8VvTCBSAV6vHfLWaX3PIaBw0xWaCo fRoCj/TVt87tmzrqWWdVkNwbPf8BHAWDjk4L7DzWLNQ5Ok48ObSrb9l4X6AGmAs2Z/jJ 2zfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704783759; x=1705388559; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=CIUb3fcPdkO1d5slw3lM6PxUfdrzjr/kVi5On1PQKpo=; b=dNehRuke68AsQFKNb/3+HUFFNewoPf2klddt6l0tLAoMbOWTXOIKGkBsbV4+gsSfq2 w2WT9WYpRghghoPN4/Zf3Qfxh8cuWSC9TWPB5L5IJAVEA+05CxZQm9G+z00WTEVIZKJ0 hlNKhiDGayMu1rLgG3H9h8h2PzmtDTzwM88pQ9Y5K/2EbEzAEGSobqls8ZbTUttIhTJf HytPpp3s04lNXptB+yNcPzcfATSajZ3RMTR03Vc5ACZ3nhPA6FmrBC0C4EUgin5ZjF5X SwAluplVPZkpwkcwzWh0a8AHkGC1yShp0NMrqA6PsNMbeV5VXi3oPqH5p20IiOELrZwL Z43w== X-Gm-Message-State: AOJu0Yw145xZdkGYW+gIw4Rn/3Mjx5dKC/WOfmwb3FBS/6BdNnSqdeoZ c0uQCVlf/9MBgbZ3rTmAR1Zer7+b3Du2lA6epgqBjt0n4tUYpQ== X-Received: by 2002:ac2:52b4:0:b0:50e:6a31:130c with SMTP id r20-20020ac252b4000000b0050e6a31130cmr867975lfm.59.1704783759048; Mon, 08 Jan 2024 23:02:39 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20231220080147.740134-1-ilias.apalodimas@linaro.org> <20240102153547.58b23d35@kernel.org> In-Reply-To: <20240102153547.58b23d35@kernel.org> From: Ilias Apalodimas Date: Tue, 9 Jan 2024 09:02:02 +0200 Message-ID: Subject: Re: [PATCH net-next v2] page_pool: Rename frag_users to pagecnt_bias To: Jakub Kicinski Cc: netdev@vger.kernel.org, linyunsheng@huawei.com, Jesper Dangaard Brouer , "David S. Miller" , Eric Dumazet , Paolo Abeni , linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Hi Jakub, On Wed, 3 Jan 2024 at 01:35, Jakub Kicinski wrote: > > On Wed, 20 Dec 2023 10:01:46 +0200 Ilias Apalodimas wrote: > > - long frag_users; > > + long pagecnt_bias; > > IDK :( > > pagecnt to mean suggests this is related to page refcount, > not page pool specific refcount. > > More importantly bias is the large number by which we increment. > This counter counts how many of the bias references we actually > consumed. So how about bias_consumed? bias_used? bias_issued? > frags_alloced? I had similar concerns, that's why v1 used 'frag_cnt'. I am fine with either frags_alloced or frag_cnt Thanks /Ilias