Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3932808pxb; Sat, 13 Feb 2021 14:54:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJwGq0Y+zfRwQxyklWpXz71zog4RfAsFNHqRQKOncVdCF8BhaB2O62gjB4bF9aGFzQONkyoY X-Received: by 2002:a05:6402:c05:: with SMTP id co5mr6202731edb.388.1613256886926; Sat, 13 Feb 2021 14:54:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613256886; cv=none; d=google.com; s=arc-20160816; b=uQqvkp8IxK9RmN5RlFMqpkWhwvhoEQMu477a2/dHdKY1uQTHoEbyNHZvk8RVwDpDp0 UzuMUIPYTORlW2QFMzKj1sTXGys3Yf32qo4b1mUEeSiRvldyayv5TPTSPlblUUn9k208 CkpsqfGl4bcW5lwK5DHz7aZpqVUZ7DfZvd/qGT2yhYb+dwxrSVdxdNXaolJLT/WP+4LI djDfHMp5oYeOXvkBNu47JIsFJJniHtsnp05G3ploCzH8M9nuF2KdGIQLB+Msuf5P6Avg 4HmzbbF++OZG51UEswZ5bS3Mrgmjivaqb9WpgMEfp/c7sLKVbL09woOscjIHMTR8n7kl CoUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=SPQ5d2ZPQ6UYfr2JN1F9umiC0nzzgTWFgbn5LI7KZfw=; b=wfb+l1DuidO71YND0ReyGn+0YOIgLOdrQasdPRiRSRkUNNamXBPiArZ8r6FHu3Lod0 BePn2OM5Do/hbBXNaDoVpGia9NVpqRl3K/zbkWj3Pe1Y9FWfVDdI9nD2zU28duBJJE4u sxYPzTA1QltpMYwnJCGHuZoNF8x9lUwINBIZNVFgJJ4pDyWBpnKRjVPcs91EEXKubxdf C8U93MClLXUIwn25knuhgQw7Vgl3csL8R4bBNIsP2td4g+HW8S8tGGgvoSvzDOr/xpzn 4MSJAGCHLHSBxsSSxAr1PEx09SWaOD9ZXA6mBOARWk5liBJb1ULsM5Nh9IdI1XaNrdXC iM8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Q51srIel; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r18si9216469edc.276.2021.02.13.14.54.06; Sat, 13 Feb 2021 14:54:46 -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=@kernel.org header.s=k20201202 header.b=Q51srIel; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229713AbhBMWuu (ORCPT + 99 others); Sat, 13 Feb 2021 17:50:50 -0500 Received: from mail.kernel.org ([198.145.29.99]:54652 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229647AbhBMWuu (ORCPT ); Sat, 13 Feb 2021 17:50:50 -0500 Received: by mail.kernel.org (Postfix) with ESMTPS id 8F71F64E3D; Sat, 13 Feb 2021 22:50:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1613256609; bh=JurtvsBujxDb0e6Wm8m1j9eTnFYrYJ0yxwhTLqxaG/Y=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=Q51srIelC2qWwx0tmnmJp1BDwYJDDQuN6cd/2tEtkOEwz0yVlE3mSOeXe6gaLM4j0 6kfdryqn2y3wDhGJZLtGCcQtfSB8YiLJlBbA+8sR1ewT2vjdWq7zdmfq8dcOELIuTP TeRan5f4TMRA84qwG2O0sayJTBoXUHc0c5e2Yy+IxvY8Kf28WexEp3I/r1KRm8YDjb R9eIO7YC/zFF525td99M6UioeJqQfF11uPz5p/L9ZC5wX5eQQiBqGP43IVygNUj0Ba SirhiFheWCsynqvjWYCTYFx65uqw48HIAhvZbacUyRjhuCAi/gcxZL5tJ7CEn+h6sV 5DcfAaEoN81rA== Received: from pdx-korg-docbuild-2.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by pdx-korg-docbuild-2.ci.codeaurora.org (Postfix) with ESMTP id 7A48760A2A; Sat, 13 Feb 2021 22:50:09 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH v6 net-next 00/11] skbuff: introduce skbuff_heads bulking and reusing From: patchwork-bot+netdevbpf@kernel.org Message-Id: <161325660949.21142.16715175107984485367.git-patchwork-notify@kernel.org> Date: Sat, 13 Feb 2021 22:50:09 +0000 References: <20210213141021.87840-1-alobakin@pm.me> In-Reply-To: <20210213141021.87840-1-alobakin@pm.me> To: Alexander Lobakin Cc: davem@davemloft.net, kuba@kernel.org, jonathan.lemon@gmail.com, edumazet@google.com, dvyukov@google.com, willemb@google.com, rdunlap@infradead.org, haokexin@gmail.com, pablo@netfilter.org, jakub@cloudflare.com, elver@google.com, decui@microsoft.com, pabeni@redhat.com, brouer@redhat.com, alexanderduyck@fb.com, alexander.duyck@gmail.com, ast@kernel.org, daniel@iogearbox.net, andriin@fb.com, ap420073@gmail.com, weiwan@google.com, xiyou.wangcong@gmail.com, bjorn@kernel.org, linmiaohe@huawei.com, gnault@redhat.com, fw@strlen.de, ecree.xilinx@gmail.com, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello: This series was applied to netdev/net-next.git (refs/heads/master): On Sat, 13 Feb 2021 14:10:43 +0000 you wrote: > Currently, all sorts of skb allocation always do allocate > skbuff_heads one by one via kmem_cache_alloc(). > On the other hand, we have percpu napi_alloc_cache to store > skbuff_heads queued up for freeing and flush them by bulks. > > We can use this cache not only for bulk-wiping, but also to obtain > heads for new skbs and avoid unconditional allocations, as well as > for bulk-allocating (like XDP's cpumap code and veth driver already > do). > > [...] Here is the summary with links: - [v6,net-next,01/11] skbuff: move __alloc_skb() next to the other skb allocation functions https://git.kernel.org/netdev/net-next/c/5381b23d5bf9 - [v6,net-next,02/11] skbuff: simplify kmalloc_reserve() https://git.kernel.org/netdev/net-next/c/ef28095fce66 - [v6,net-next,03/11] skbuff: make __build_skb_around() return void https://git.kernel.org/netdev/net-next/c/483126b3b2c6 - [v6,net-next,04/11] skbuff: simplify __alloc_skb() a bit https://git.kernel.org/netdev/net-next/c/df1ae022af2c - [v6,net-next,05/11] skbuff: use __build_skb_around() in __alloc_skb() https://git.kernel.org/netdev/net-next/c/f9d6725bf44a - [v6,net-next,06/11] skbuff: remove __kfree_skb_flush() https://git.kernel.org/netdev/net-next/c/fec6e49b6398 - [v6,net-next,07/11] skbuff: move NAPI cache declarations upper in the file https://git.kernel.org/netdev/net-next/c/50fad4b543b3 - [v6,net-next,08/11] skbuff: introduce {,__}napi_build_skb() which reuses NAPI cache heads https://git.kernel.org/netdev/net-next/c/f450d539c05a - [v6,net-next,09/11] skbuff: allow to optionally use NAPI cache from __alloc_skb() https://git.kernel.org/netdev/net-next/c/d13612b58e64 - [v6,net-next,10/11] skbuff: allow to use NAPI cache from __napi_alloc_skb() https://git.kernel.org/netdev/net-next/c/cfb8ec659521 - [v6,net-next,11/11] skbuff: queue NAPI_MERGED_FREE skbs into NAPI cache instead of freeing https://git.kernel.org/netdev/net-next/c/9243adfc311a You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html