Received: by 2002:a05:7412:6592:b0:d7:7d3a:4fe2 with SMTP id m18csp750187rdg; Thu, 10 Aug 2023 20:10:58 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHUb0UK0o0YCgbf0KKZnc0r/QqFmsVc2smxTeHV8XXkdpksFWPOXkrNm6qsPRqzeskXPRrB X-Received: by 2002:a05:6a00:14c5:b0:686:4dd4:d56e with SMTP id w5-20020a056a0014c500b006864dd4d56emr803641pfu.2.1691723458022; Thu, 10 Aug 2023 20:10:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691723458; cv=none; d=google.com; s=arc-20160816; b=PR+CpXpniJjx6E6BpAWtnr51sTP6/q5y37HC67rS+PRgqCmO0wanItdHNzoTpciBzI zYoLUdVBSWUE+39CD3ZJDaZd8rC4fdrxV8oI3Pj+KnLvtMExg58fm6kL0IRqJe6srHtW OjjVLs4tKEORKdtzrOEiSAc0pFz7nhvoXF+JHna1wwYqZV7nKkYI0qJ6B12nebippoH2 DG7Vp19nFCNDszEtYgG4ip9ZsWW6wItk9tKMv73inARapjZEjrvQNLDZftlyq+tibQDG MqsoxbvH9RFWZmVBHKKI3Hi2FGXAbNHbz5EQ9w00eXjD9d/k+g0GH9GgWaIeJVOU4rnC VQ2g== 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=zcEnlFK246VEUak0E/Cxg2yR9yH5RAN9nW3F5hddbXQ=; fh=IcTJfoOHtRbiS9a4pvq4cp0ljN0BRn8fWFtTb4MNv/U=; b=XAm58rkE9QP6UGTv77fD/qyc6P1l8iiGhMNEmiDG9TUeTaEsGpxntByX/beGFZZQin BIghdiNL0ojpFrUsKSfNgM6gCVuajpPAesRMgCNP3AoOR/F+kwqcwHIYc0gAC0uthR0S /fe/SX8HgVJxI0g2UMB8Jpam/76AII4R3A7NSUkyDAjR3kYX1dGuxtISAYHR4ZRcCEqk o0UoUrrX8L4xTJPFsJESoablONezp0mcTBKgQzGGg0//aPBc/SXAxaWwZuI3YFK0c9xT IudAWA8KcgzIp/7U15jFaS3sxRcxlLOD0Q0LABtNI4gvo9gomAniLy12WqB0wwcMxVgn 5X2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AQyvlO30; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cp6-20020a056a00348600b0067b77e7f473si2588567pfb.232.2023.08.10.20.10.45; Thu, 10 Aug 2023 20:10:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AQyvlO30; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S231157AbjHKCkZ (ORCPT + 99 others); Thu, 10 Aug 2023 22:40:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42874 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229765AbjHKCkY (ORCPT ); Thu, 10 Aug 2023 22:40:24 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5FFE92D60 for ; Thu, 10 Aug 2023 19:40:23 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id F204D627A6 for ; Fri, 11 Aug 2023 02:40:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 55483C433C8; Fri, 11 Aug 2023 02:40:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691721622; bh=YndZcHJCV/o6mRr0NKkn4QmiusTlRpbegp99anOFoBE=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=AQyvlO30I0XiZ267clyidO57KQbHYuTbwf6St9AIG7KnE5ceUoo8+9h1qPpOHMVeR 6ho6EQSJy47bzqUMMTh+5cfVG5mcwhuMbbVnrsZ0GoiqksqtxUvTkbDLlB2skUmusD 9fTbjpWJxPIEEgZ6RjPACGaRt2Iq3iXtxtYKd3fAkrnsSnvTn5eMjzpjXYXfDynC8y gKLsCCEtF2gXn3o4dO6N6znXQgLZE4VCqNmNntvsRWuuZgw1qUz7W9smSE8scX9tyH CEj0t7mcTFo7N7sLucMiuEMD87doi+qKrUjIO3WXWx4z9m/B2Gu2Gxjv9ruIyK8Kz8 kPDVeKftwiruw== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 36742C39562; Fri, 11 Aug 2023 02:40:22 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH v4] tun: avoid high-order page allocation for packet header From: patchwork-bot+netdevbpf@kernel.org Message-Id: <169172162221.18522.12671280608585780104.git-patchwork-notify@kernel.org> Date: Fri, 11 Aug 2023 02:40:22 +0000 References: <20230809164753.2247594-1-trdgn@amazon.com> In-Reply-To: <20230809164753.2247594-1-trdgn@amazon.com> To: Tahsin Erdogan Cc: willemdebruijn.kernel@gmail.com, jasowang@redhat.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, herbert@gondor.apana.org.au, netdev@vger.kernel.org, linux-kernel@vger.kernel.org X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Wed, 9 Aug 2023 09:47:52 -0700 you wrote: > When gso.hdr_len is zero and a packet is transmitted via write() or > writev(), all payload is treated as header which requires a contiguous > memory allocation. This allocation request is harder to satisfy, and may > even fail if there is enough fragmentation. > > Note that sendmsg() code path limits the linear copy length, so this change > makes write()/writev() and sendmsg() paths more consistent. > > [...] Here is the summary with links: - [v4] tun: avoid high-order page allocation for packet header https://git.kernel.org/netdev/net-next/c/6231e47b6fad You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html